From: <bl...@us...> - 2003-05-03 21:52:20
|
Update of /cvsroot/cpptool/rfta/include/rfta/parser In directory sc8-pr-cvs1:/tmp/cvs-serv18791/include/rfta/parser Modified Files: ASTNodes.h Log Message: * added support for MFC & wxWindow macro style in declaration list. Any identifier in upper case, with at least one '_' starting a declaration will start a macro declaration. * a macro declaration eat the patter IDENTIFIER( parameters ) * notes that it does not the bug were macro is use to export a symbol. Index: ASTNodes.h =================================================================== RCS file: /cvsroot/cpptool/rfta/include/rfta/parser/ASTNodes.h,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ASTNodes.h 3 May 2003 17:45:13 -0000 1.20 --- ASTNodes.h 3 May 2003 21:52:15 -0000 1.21 *************** *** 163,166 **** --- 163,172 ---- static const ASTNodeType expressionList; + // macro node types. + static const ASTNodeType macro; + static const ASTNodeType macroIdentifier; + static const ASTNodeType macroParameters; + + }; *************** *** 236,239 **** --- 242,248 ---- static const ASTNodeProperty enumBodyProperty; static const ASTNodeProperty classBodyProperty; + + static const ASTNodeProperty macroIdentifier; + static const ASTNodeProperty macroParameters; }; |