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