Changeset 46aa60e for src/Parser
- Timestamp:
- Feb 23, 2024, 11:41:10 PM (6 months ago)
- Branches:
- master
- Children:
- 0a9b5c1, 1e93617
- Parents:
- 3d5a8cb (diff), 1761046 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Peter A. Buhr <pabuhr@…> (02/23/24 18:54:24)
- git-committer:
- Peter A. Buhr <pabuhr@…> (02/23/24 23:41:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.yy
r3d5a8cb r46aa60e 1081 1081 | logical_OR_expression '?' comma_expression ':' conditional_expression 1082 1082 { $$ = new ExpressionNode( build_cond( yylloc, $1, $3, $5 ) ); } 1083 // FIX ME: computes $1 twice1084 1083 | logical_OR_expression '?' /* empty */ ':' conditional_expression // GCC, omitted first operand 1085 { $$ = new ExpressionNode( build_cond( yylloc, $1, $1->clone(), $4 ) ); }1084 { $$ = new ExpressionNode( build_cond( yylloc, $1, nullptr, $4 ) ); } 1086 1085 ; 1087 1086
Note: See TracChangeset
for help on using the changeset viewer.