diff options
| -rw-r--r-- | lex.c | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -1,5 +1,8 @@ | |||
| 1 | char *rcs_lex = "$Id: lex.c,v 1.2 1993/12/22 21:39:15 celes Exp roberto $"; | 1 | char *rcs_lex = "$Id: lex.c,v 1.3 1993/12/28 16:42:29 roberto Exp celes $"; |
| 2 | /*$Log: lex.c,v $ | 2 | /*$Log: lex.c,v $ |
| 3 | * Revision 1.3 1993/12/28 16:42:29 roberto | ||
| 4 | * "include"s de string.h e stdlib.h para evitar warnings | ||
| 5 | * | ||
| 3 | * Revision 1.2 1993/12/22 21:39:15 celes | 6 | * Revision 1.2 1993/12/22 21:39:15 celes |
| 4 | * Tratamento do token $debug e $nodebug | 7 | * Tratamento do token $debug e $nodebug |
| 5 | * | 8 | * |
| @@ -187,7 +190,7 @@ int yylex () | |||
| 187 | *yytextLast = 0; | 190 | *yytextLast = 0; |
| 188 | res = findReserved(yytext); | 191 | res = findReserved(yytext); |
| 189 | if (res) return res; | 192 | if (res) return res; |
| 190 | yylval.vWord = lua_findsymbol(yytext); | 193 | yylval.pChar = yytext; |
| 191 | return NAME; | 194 | return NAME; |
| 192 | } | 195 | } |
| 193 | 196 | ||
