diff options
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.54 2007/07/31 19:39:52 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.55 2007/10/18 11:01:52 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -75,7 +75,7 @@ static void errorlimit (FuncState *fs, int limit, const char *what) { | |||
75 | luaO_pushfstring(fs->L, "function at line %d", fs->f->linedefined); | 75 | luaO_pushfstring(fs->L, "function at line %d", fs->f->linedefined); |
76 | msg = luaO_pushfstring(fs->L, "too many %s (limit is %d) in %s", | 76 | msg = luaO_pushfstring(fs->L, "too many %s (limit is %d) in %s", |
77 | what, limit, where); | 77 | what, limit, where); |
78 | luaX_lexerror(fs->ls, msg, fs->ls->t.token); | 78 | luaX_syntaxerror(fs->ls, msg); |
79 | } | 79 | } |
80 | 80 | ||
81 | 81 | ||