Changeset 2beaf9b for src/Parser
- Timestamp:
- Feb 22, 2024, 1:55:45 PM (10 months ago)
- Branches:
- master
- Children:
- d06273c
- Parents:
- 2810700
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r2810700 r2beaf9b 1039 1039 | logical_OR_expression '?' comma_expression ':' conditional_expression 1040 1040 { $$ = new ExpressionNode( build_cond( yylloc, $1, $3, $5 ) ); } 1041 // FIX ME: computes $1 twice1042 1041 | logical_OR_expression '?' /* empty */ ':' conditional_expression // GCC, omitted first operand 1043 1042 { $$ = new ExpressionNode( build_cond( yylloc, $1, nullptr, $4 ) ); }
Note: See TracChangeset
for help on using the changeset viewer.