Changeset 4e05d27 for src/Parser/parser.cc
- Timestamp:
- Jul 24, 2016, 3:30:09 AM (7 years ago)
- Branches:
- aaron-thesis, arm-eh, 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:
- c967ef9, e4957e7
- Parents:
- ef3b335
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/parser.cc
ref3b335 r4e05d27 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.