Changeset 5b639ee for src/Parser/parser.cc
- Timestamp:
- Sep 12, 2016, 9:52:12 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 101e0bd
- Parents:
- b6424d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.cc
rb6424d9 r5b639ee 5929 5929 /* Line 1806 of yacc.c */ 5930 5930 #line 829 "parser.yy" 5931 { (yyval.sn) = new StatementNode( build_while( (yyvsp[(5) - (7)].en), (yyvsp[(2) - (7)].sn) ) ); }5931 { (yyval.sn) = new StatementNode( build_while( (yyvsp[(5) - (7)].en), (yyvsp[(2) - (7)].sn), true ) ); } 5932 5932 break; 5933 5933 … … 6744 6744 /* Line 1806 of yacc.c */ 6745 6745 #line 1365 "parser.yy" 6746 { (yyval.decl) = DeclarationNode::new Modifier( DeclarationNode::Long ); }6746 { (yyval.decl) = DeclarationNode::newLength( DeclarationNode::Long ); } 6747 6747 break; 6748 6748 … … 6751 6751 /* Line 1806 of yacc.c */ 6752 6752 #line 1367 "parser.yy" 6753 { (yyval.decl) = DeclarationNode::new Modifier( DeclarationNode::Short ); }6753 { (yyval.decl) = DeclarationNode::newLength( DeclarationNode::Short ); } 6754 6754 break; 6755 6755 … … 6758 6758 /* Line 1806 of yacc.c */ 6759 6759 #line 1369 "parser.yy" 6760 { (yyval.decl) = DeclarationNode::new Modifier( DeclarationNode::Signed ); }6760 { (yyval.decl) = DeclarationNode::newSignedNess( DeclarationNode::Signed ); } 6761 6761 break; 6762 6762 … … 6765 6765 /* Line 1806 of yacc.c */ 6766 6766 #line 1371 "parser.yy" 6767 { (yyval.decl) = DeclarationNode::new Modifier( DeclarationNode::Unsigned ); }6767 { (yyval.decl) = DeclarationNode::newSignedNess( DeclarationNode::Unsigned ); } 6768 6768 break; 6769 6769 … … 6786 6786 /* Line 1806 of yacc.c */ 6787 6787 #line 1377 "parser.yy" 6788 { (yyval.decl) = DeclarationNode::new BasicType( DeclarationNode::Complex ); }6788 { (yyval.decl) = DeclarationNode::newComplexType( DeclarationNode::Complex ); } 6789 6789 break; 6790 6790 … … 6793 6793 /* Line 1806 of yacc.c */ 6794 6794 #line 1379 "parser.yy" 6795 { (yyval.decl) = DeclarationNode::new BasicType( DeclarationNode::Imaginary ); }6795 { (yyval.decl) = DeclarationNode::newComplexType( DeclarationNode::Imaginary ); } 6796 6796 break; 6797 6797 … … 7544 7544 /* Line 1806 of yacc.c */ 7545 7545 #line 1851 "parser.yy" 7546 { (yyval.tclass) = DeclarationNode:: Type; }7546 { (yyval.tclass) = DeclarationNode::Otype; } 7547 7547 break; 7548 7548
Note: See TracChangeset
for help on using the changeset viewer.