From: Baptiste L. <bl...@us...> - 2004-08-07 22:57:49
|
Update of /cvsroot/cpptool/CppParser/src/cppparser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7395/src/cppparser Modified Files: cpp_grammar.txt Log Message: * made small optimization Index: cpp_grammar.txt =================================================================== RCS file: /cvsroot/cpptool/CppParser/src/cppparser/cpp_grammar.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cpp_grammar.txt 7 Aug 2004 15:52:23 -0000 1.1 --- cpp_grammar.txt 7 Aug 2004 22:57:39 -0000 1.2 *************** *** 541,545 **** typedef_name = id; # p793 ! type_name = class_name | enum_name | typedef_name; # Notes: simplified, alternatives are redondant in typeless context --- 541,547 ---- typedef_name = id; # p793 ! # optimization: all three are identical during parsing ! #type_name = class_name | enum_name | typedef_name; ! type_name = class_name; # Notes: simplified, alternatives are redondant in typeless context |