diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-12T10·38+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-12T10·38+0000 |
commit | ed711f73bce8786b1a37bd718eb97276d0916484 (patch) | |
tree | 5a30b6dbc9f065e031ef7ffefc436cdc4b4642b8 /src/libexpr/lexer.l | |
parent | db90b88e655a0d8e501beddee966a124b2f097d8 (diff) |
* Don't use ATerms to represent integers in the lexer.
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r-- | src/libexpr/lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l index 81aec99e15c8..82c3500202b0 100644 --- a/src/libexpr/lexer.l +++ b/src/libexpr/lexer.l @@ -107,7 +107,7 @@ inherit { return INHERIT; } {ID} { yylval->t = toATerm(yytext); return ID; /* !!! alloc */ } {INT} { int n = atoi(yytext); /* !!! overflow */ - yylval->t = ATmake("<int>", n); + yylval->n = n; return INT; } |