Changeset 2beaf9b for src/Parser


Ignore:
Timestamp:
Feb 22, 2024, 1:55:45 PM (4 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
d06273c
Parents:
2810700
Message:

Forgot to update comments from the last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.yy

    r2810700 r2beaf9b  
    10391039        | logical_OR_expression '?' comma_expression ':' conditional_expression
    10401040                { $$ = new ExpressionNode( build_cond( yylloc, $1, $3, $5 ) ); }
    1041                 // FIX ME: computes $1 twice
    10421041        | logical_OR_expression '?' /* empty */ ':' conditional_expression // GCC, omitted first operand
    10431042                { $$ = new ExpressionNode( build_cond( yylloc, $1, nullptr, $4 ) ); }
Note: See TracChangeset for help on using the changeset viewer.