Changeset e4957e7 for src/Parser/parser.cc
- Timestamp:
- Jul 25, 2016, 4:20:26 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, 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:
- 29e8bf5, becba789
- Parents:
- 31e46b8 (diff), 4e05d27 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.cc
r31e46b8 re4957e7 5235 5235 /* Line 1806 of yacc.c */ 5236 5236 #line 305 "parser.yy" 5237 { (yyval.constant) = makeConstant ( ConstantNode::Integer,(yyvsp[(1) - (1)].tok) ); }5237 { (yyval.constant) = makeConstantInteger( *(yyvsp[(1) - (1)].tok) ); } 5238 5238 break; 5239 5239 … … 5242 5242 /* Line 1806 of yacc.c */ 5243 5243 #line 306 "parser.yy" 5244 { (yyval.constant) = makeConstant ( ConstantNode::Float,(yyvsp[(1) - (1)].tok) ); }5244 { (yyval.constant) = makeConstantFloat( *(yyvsp[(1) - (1)].tok) ); } 5245 5245 break; 5246 5246 … … 5249 5249 /* Line 1806 of yacc.c */ 5250 5250 #line 307 "parser.yy" 5251 { (yyval.constant) = makeConstant ( ConstantNode::Character,(yyvsp[(1) - (1)].tok) ); }5251 { (yyval.constant) = makeConstantChar( *(yyvsp[(1) - (1)].tok) ); } 5252 5252 break; 5253 5253 … … 5256 5256 /* Line 1806 of yacc.c */ 5257 5257 #line 332 "parser.yy" 5258 { (yyval.constant) = makeConstantStr( ConstantNode::String,(yyvsp[(1) - (1)].tok) ); }5258 { (yyval.constant) = makeConstantStr( *(yyvsp[(1) - (1)].tok) ); } 5259 5259 break; 5260 5260
Note: See TracChangeset
for help on using the changeset viewer.