summary refs log tree commit diff
path: root/src/libexpr/lexer.l
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-12 10:38:18 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-12 10:38:18 +0000
commited711f73bce8786b1a37bd718eb97276d0916484 (patch)
tree5a30b6dbc9f065e031ef7ffefc436cdc4b4642b8 /src/libexpr/lexer.l
parentdb90b88e655a0d8e501beddee966a124b2f097d8 (diff)
downloadguix-ed711f73bce8786b1a37bd718eb97276d0916484.tar.gz
* Don't use ATerms to represent integers in the lexer.
Diffstat (limited to 'src/libexpr/lexer.l')
-rw-r--r--src/libexpr/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/lexer.l b/src/libexpr/lexer.l
index 81aec99e15..82c3500202 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;
             }