diff options
Diffstat (limited to 'lex.c')
-rw-r--r-- | lex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | char *rcs_lex = "$Id: lex.c,v 2.23 1996/02/07 14:14:40 roberto Exp roberto $"; | 1 | char *rcs_lex = "$Id: lex.c,v 2.24 1996/02/09 19:35:23 roberto Exp roberto $"; |
2 | 2 | ||
3 | 3 | ||
4 | #include <ctype.h> | 4 | #include <ctype.h> |
@@ -287,7 +287,7 @@ int luaY_lex (void) | |||
287 | *yytextLast = 0; | 287 | *yytextLast = 0; |
288 | res = findReserved(yytext); | 288 | res = findReserved(yytext); |
289 | if (res) return res; | 289 | if (res) return res; |
290 | luaY_lval.pNode = lua_constcreate(yytext); | 290 | luaY_lval.pTStr = luaI_createfixedstring(yytext); |
291 | return NAME; | 291 | return NAME; |
292 | } | 292 | } |
293 | 293 | ||