From dd704b8fe473eb8c934fe9dd756bda8117beb304 Mon Sep 17 00:00:00 2001 From: Waldemar Celes Date: Fri, 15 Apr 1994 16:00:28 -0300 Subject: [PATCH] Retirar chamada da funcao lua_findsymbol associada a cada token NAME. A decisao de chamar lua_findsymbol ou lua_findconstant fica a cargo do modulo "lua.stx". --- lex.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lex.c b/lex.c index 6b40d452..c2730a05 100644 --- a/lex.c +++ b/lex.c @@ -1,5 +1,8 @@ -char *rcs_lex = "$Id: lex.c,v 1.2 1993/12/22 21:39:15 celes Exp roberto $"; +char *rcs_lex = "$Id: lex.c,v 1.3 1993/12/28 16:42:29 roberto Exp celes $"; /*$Log: lex.c,v $ + * Revision 1.3 1993/12/28 16:42:29 roberto + * "include"s de string.h e stdlib.h para evitar warnings + * * Revision 1.2 1993/12/22 21:39:15 celes * Tratamento do token $debug e $nodebug * @@ -187,7 +190,7 @@ int yylex () *yytextLast = 0; res = findReserved(yytext); if (res) return res; - yylval.vWord = lua_findsymbol(yytext); + yylval.pChar = yytext; return NAME; }