aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index dddf34c1..9ddb117e 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.70 2000/09/11 20:29:27 roberto Exp roberto $ 2** $Id: llex.c,v 1.71 2000/09/27 17:41:58 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*/
@@ -58,7 +58,7 @@ void luaX_checklimit (LexState *ls, int val, int limit, const char *msg) {
58void luaX_syntaxerror (LexState *ls, const char *s, const char *token) { 58void luaX_syntaxerror (LexState *ls, const char *s, const char *token) {
59 char buff[MAXSRC]; 59 char buff[MAXSRC];
60 luaO_chunkid(buff, ls->source->str, sizeof(buff)); 60 luaO_chunkid(buff, ls->source->str, sizeof(buff));
61 luaO_verror(ls->L, "%.99s;\n last token read: `%.50s' at line %d in %.80s", 61 luaO_verror(ls->L, "%.99s;\n last token read: `%.30s' at line %d in %.80s",
62 s, token, ls->linenumber, buff); 62 s, token, ls->linenumber, buff);
63} 63}
64 64