diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,11 +169,11 @@ term(void) match(VarTok); break; case IntTok: - result = mknumber(NumberInt, lookahead.ival, 0); + result = mkinteger(lookahead.ival); match(IntTok); break; case FloatTok: - result = mknumber(NumberFloat, 0, lookahead.dval); + result = mkfloat(lookahead.dval); match(FloatTok); break; case CommaTok: |