Changes in src/Parser/parser.yy [9867cdb:aeb5d0d]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r9867cdb raeb5d0d 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Mar 6 17:26:45202013 // Update Count : 447 412 // Last Modified On : Wed Feb 26 14:27:39 2020 13 // Update Count : 4472 14 14 // 15 15 … … 918 918 conditional_expression 919 919 | unary_expression assignment_operator assignment_expression 920 { 921 if ( $2 == OperKinds::AtAssn ) { 922 SemanticError( yylloc, "C @= assignment is currently unimplemented." ); $$ = nullptr; 923 } else { 924 $$ = new ExpressionNode( build_binary_val( $2, $1, $3 ) ); 925 } // if 926 } 920 { $$ = new ExpressionNode( build_binary_val( $2, $1, $3 ) ); } 927 921 | unary_expression '=' '{' initializer_list_opt comma_opt '}' 928 922 { SemanticError( yylloc, "Initializer assignment is currently unimplemented." ); $$ = nullptr; }
Note: See TracChangeset
for help on using the changeset viewer.