Changeset 19de7b70
- Timestamp:
- May 17, 2016, 5:51:40 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- bf1ee05
- Parents:
- 13488ca (diff), 68a8ba2a (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. - Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.cc
r13488ca r19de7b70 5772 5772 Token fn; fn.str = new std::string( "^?{}" ); // location undefined 5773 5773 (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 ); 5775 5775 } 5776 5776 break; -
src/Parser/parser.yy
r13488ca r19de7b70 646 646 Token fn; fn.str = new std::string( "^?{}" ); // location undefined 647 647 $$ = 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 ); 649 649 } 650 650 ;
Note: See TracChangeset
for help on using the changeset viewer.