~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/gen-release/step1/aspects/WinMemberExplSpec.ah

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
namespace Puma {
29
29
  class CCSyntax;
30
30
  class CTree;
31
 
} // namespace Puma
32
 
 
33
 
 
34
 
using namespace Puma;
 
31
35
32
 
36
33
namespace Puma {
37
34
  slice class WinMemberExplSpecSyntax;
50
47
 
51
48
  // try first to parse a member template explicit specialization
52
49
  advice execution ("% Puma::CCSyntax::member_template_decl()") : around () {
53
 
    if (thisJoinPoint->that ()->parse (&JoinPoint::That::member_explicit_specialization)) {
54
 
      CTree *&result = *(CTree**)thisJoinPoint->result ();
55
 
      result = thisJoinPoint->that ()->builder ().get_node ();
 
50
    if (tjp->that ()->parse (&JoinPoint::That::member_explicit_specialization)) {
 
51
      Puma::CTree *&result = *(Puma::CTree**)tjp->result ();
 
52
      result = tjp->that ()->builder ().get_node ();
56
53
    } else
57
 
      thisJoinPoint->action ().trigger ();
 
54
      tjp->proceed ();
58
55
  }
59
56
 
60
57
protected:
65
62
  slice class WinMemberExplSpecSyntax {
66
63
    virtual CTree * member_explicit_specialization ();
67
64
  };
68
 
 
69
 
  slice CTree * WinMemberExplSpecSyntax::member_explicit_specialization () {
70
 
    // 4: TEMPLATE  <  >  member_decl
71
 
    if (! (parse (TOK_TEMPLATE) && parse (TOK_LESS) && parse (TOK_GREATER)))
72
 
      return (CTree*)0;
73
 
    semantic ().enter_template_param_list (0);
74
 
    return parse (&CCSyntax::member_decl) ?
75
 
      semantic ().explicit_specialization () : (CTree*)0;
76
 
  }
77
 
}
 
65
}
 
66
 
 
67
slice Puma::CTree * Puma::WinMemberExplSpecSyntax::member_explicit_specialization () {
 
68
  // 4: TEMPLATE  <  >  member_decl
 
69
  if (! (parse (Puma::TOK_TEMPLATE) && parse (Puma::TOK_LESS) && parse (Puma::TOK_GREATER)))
 
70
    return (CTree*)0;
 
71
  semantic ().enter_template_param_list (0);
 
72
  return parse (&Puma::CCSyntax::member_decl) ?
 
73
    semantic ().explicit_specialization () : (Puma::CTree*)0;
 
74
}
 
75
 
78
76
 
79
77
#endif /* __WinMemberExplSpec__ */