Changes in / [13488ca:19de7b70]


Ignore:
Location:
src/Parser
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/parser.cc

    r13488ca r19de7b70  
    57725772                        Token fn; fn.str = new std::string( "^?{}" ); // location undefined
    57735773                        (yyval.sn) = new StatementNode( StatementNode::Exp, new CompositeExprNode( new VarRefNode( fn ),
    5774                                 (ExpressionNode *)(new CompositeExprNode( new OperatorNode( OperatorNode::AddressOf ), (yyvsp[(2) - (6)].en) ))->set_link( (yyvsp[(4) - (6)].en) ) ), 0 );
     5774                                (ExpressionNode *)( (yyvsp[(2) - (6)].en) )->set_link( (yyvsp[(4) - (6)].en) ) ), 0 );
    57755775                }
    57765776    break;
  • src/Parser/parser.yy

    r13488ca r19de7b70  
    646646                        Token fn; fn.str = new std::string( "^?{}" ); // location undefined
    647647                        $$ = new StatementNode( StatementNode::Exp, new CompositeExprNode( new VarRefNode( fn ),
    648                                 (ExpressionNode *)(new CompositeExprNode( new OperatorNode( OperatorNode::AddressOf ), $2 ))->set_link( $4 ) ), 0 );
     648                                (ExpressionNode *)( $2 )->set_link( $4 ) ), 0 );
    649649                }
    650650        ;
Note: See TracChangeset for help on using the changeset viewer.