From 41259bff31dbb904edfb8070006ccb15577f8f04 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Feb 1996 15:32:40 -0300 Subject: BIG CHANGE: new data structure for constants, strings and globals, using an array of hash tables for all them. --- lex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lex.c') diff --git a/lex.c b/lex.c index f499d7a6..0940359c 100644 --- a/lex.c +++ b/lex.c @@ -1,4 +1,4 @@ -char *rcs_lex = "$Id: lex.c,v 2.23 1996/02/07 14:14:40 roberto Exp roberto $"; +char *rcs_lex = "$Id: lex.c,v 2.24 1996/02/09 19:35:23 roberto Exp roberto $"; #include @@ -287,7 +287,7 @@ int luaY_lex (void) *yytextLast = 0; res = findReserved(yytext); if (res) return res; - luaY_lval.pNode = lua_constcreate(yytext); + luaY_lval.pTStr = luaI_createfixedstring(yytext); return NAME; } -- cgit v1.2.3-55-g6feb