[aspectc-user] puma - annotator example

Stefaan Himpe stefaan.himpe at gmail.com
Tue Jan 1 22:20:42 CET 2008


Hello list,

I hereby send two small diffs for the puma - annotator example in the 
current svn version of puma,
to make it compile and do something ;)

 >>>>> Transformer.cc

0a1
 > #include <Puma/CTree.h>
2a4,5
 > #include "Transformer.h"
 >
9,10c12,14
<   if (node->NodeName() == CT_IfStmt::NodeId() ||
<       node->NodeName() == CT_IfElseStmt::NodeId()) {
---
 >   if (node->NodeName() == Puma::CT_IfStmt::NodeId() ||
 >       node->NodeName() == Puma::CT_IfElseStmt::NodeId()) {
 >       insertComment(node);
14c18
<   Token* token_if = node->token();
---
 >   Puma::Token* token_if = node->token();



 >>>>> Transformer.h

9a10
 >   void insertComment(Puma::CTree *node);




Best regards,
Stefaan.




More information about the aspectc-user mailing list