Update of /cvsroot/cpptool/CppParser/src/cppparser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2700/src/cppparser
Modified Files:
cpp_grammar.txt
Log Message:
* fixed structure error in assignment operator expression rules
Index: cpp_grammar.txt
===================================================================
RCS file: /cvsroot/cpptool/CppParser/src/cppparser/cpp_grammar.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** cpp_grammar.txt 8 Aug 2004 16:19:08 -0000 1.5
--- cpp_grammar.txt 8 Aug 2004 19:14:51 -0000 1.6
***************
*** 271,277 ****
assignment_operator = %'= *= /= %= += -= >>= <<= &= ^= |=';
assignment_expression_intern =
conditional_expression
! || [ logical_or_expression assignment_operator assignment_expression ]
|| throw_expression
;
--- 271,281 ----
assignment_operator = %'= *= /= %= += -= >>= <<= &= ^= |=';
+ #assignment_operation =
+ assignment_operation = :node( 'assignment_operator',
+ logical_or_expression assignment_operator assignment_expression );
+
assignment_expression_intern =
conditional_expression
! || assignment_operation
|| throw_expression
;
|