~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to AspectC++/JoinPointRepo.cc

  • 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:
20
20
#include "JoinPointRepo.h"
21
21
#include "RepoXMLNode.h"
22
22
#include "Puma/StrCol.h"
 
23
// Reinhard
 
24
#include "MatchExpr.h"
 
25
// End Reinhard
23
26
using namespace Puma;
24
27
 
25
28
int JoinPointRepo::insert (int file_id, int line, const string &signature, 
120
123
                            Data (id, signature.c_str (), type.c_str (),
121
124
                                  adv, lines)));
122
125
      update (id);
 
126
      
 
127
// Reinhard
 
128
//      if (type == "exec") {
 
129
//        ErrorStream err; // beides kann erstmal ignoriert werden
 
130
//        Location loc;
 
131
//        MatchExpr expr (err, loc, "% ...::member%(...)");
 
132
//        
 
133
//        cout << "SIGNATURE: " << signature.c_str () << endl;
 
134
//        MatchSignature sig (err, loc, signature.c_str ());
 
135
//        cout << "- parsed" << endl;
 
136
//        if (expr.error ())
 
137
//          cout << "error in match" << endl;
 
138
//        else if (sig.error ())
 
139
//          cout << "error in sig" << endl;
 
140
//        else if (expr.matches(sig))
 
141
//          cout << "MATCHED signature " << signature.c_str () << " -> ID: " << id << endl;
 
142
//      }
 
143
// End Reinhard
123
144
    }
124
145
  }    
125
146
}