typo for Parser.cc

[email protected] (Gilles J. Seguin)
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
make assignment-expression consistent

_______________________________________________
Synopsis-devel mailing list
[email protected]
http://lists.fresco.org/cgi-bin/listinfo/synopsis-devel
Parser.cc.diff (text/x-patch, 902 B)
Index: Parser.cc
===================================================================
--- Parser.cc	(revision 1536)
+++ Parser.cc	(working copy)
@@ -3175,8 +3175,8 @@
 }
 
 //. expression:
-//.   assign_expr
-//.   expression  , assign_expr
+//.   assignment_expression
+//.   expression  , assignment_expression
 bool Parser::expression(PTree::Node *&exp)
 {
   Trace trace("Parser::expression", Trace::PARSING);
@@ -3194,7 +3194,7 @@
   return true;
 }
 
-//. assign-expression:
+//. assignment-expression:
 //.   conditional-expression
 //.   logical-or-expression assignment-operator assignment-expression
 //.   throw-expression
@@ -4296,7 +4296,7 @@
 
 //. condition:
 //.   expression
-//.   type-specifier-seq declarator = assign-expr
+//.   type-specifier-seq declarator = assignment-expression
 bool Parser::condition(PTree::Node *&exp)
 {
   Trace trace("Parser::condition", Trace::PARSING);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.