diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
commit | 45b173cbf89597123267a69bace778cf498d6c98 (patch) | |
tree | 561573acd810544ba8c743df0335e5fbe64f302c /llex.c | |
parent | a94cba4b88a940cba7a35244b8a1b393f33a905c (diff) | |
download | lua-45b173cbf89597123267a69bace778cf498d6c98.tar.gz lua-45b173cbf89597123267a69bace778cf498d6c98.tar.bz2 lua-45b173cbf89597123267a69bace778cf498d6c98.zip |
warnings/details
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 1.87 2001/06/15 20:36:57 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.88 2001/06/20 21:07:57 roberto Exp roberto $ |
3 | ** Lexical Analyzer | 3 | ** Lexical Analyzer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -377,7 +377,7 @@ int luaX_lex (LexState *LS, SemInfo *seminfo) { | |||
377 | return TK_NAME; | 377 | return TK_NAME; |
378 | } | 378 | } |
379 | else { | 379 | else { |
380 | int c = LS->current; | 380 | l_charint c = LS->current; |
381 | if (iscntrl(c)) | 381 | if (iscntrl(c)) |
382 | luaX_invalidchar(LS, c); | 382 | luaX_invalidchar(LS, c); |
383 | next(LS); | 383 | next(LS); |