diff options
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.20 1998/06/06 20:44:05 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 1.21 1998/06/18 16:57:03 roberto Exp roberto $ |
3 | ** Lexical Analizer | 3 | ** Lexical Analizer |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -48,7 +48,7 @@ void luaX_init (void) | |||
48 | void luaX_syntaxerror (LexState *ls, char *s, char *token) { | 48 | void luaX_syntaxerror (LexState *ls, char *s, char *token) { |
49 | if (token[0] == 0) | 49 | if (token[0] == 0) |
50 | token = "<eof>"; | 50 | token = "<eof>"; |
51 | luaL_verror("%.100s;\n last token read: `%.50s' at line %d in file %.50s", | 51 | luaL_verror("%.100s;\n last token read: `%.50s' at line %d in chunk `%.50s'", |
52 | s, token, ls->linenumber, zname(ls->lex_z)); | 52 | s, token, ls->linenumber, zname(ls->lex_z)); |
53 | } | 53 | } |
54 | 54 | ||