diff options
Diffstat (limited to 'src/lj_lex.c')
-rw-r--r-- | src/lj_lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_lex.c b/src/lj_lex.c index e464f420..b54d2a23 100644 --- a/src/lj_lex.c +++ b/src/lj_lex.c | |||
@@ -406,7 +406,7 @@ int lj_lex_setup(lua_State *L, LexState *ls) | |||
406 | ** Lua code by looking at the first char. Since this is a potential | 406 | ** Lua code by looking at the first char. Since this is a potential |
407 | ** security violation no attempt is made to echo the chunkname either. | 407 | ** security violation no attempt is made to echo the chunkname either. |
408 | */ | 408 | */ |
409 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_BCHEAD)); | 409 | setstrV(L, L->top++, lj_err_str(L, LJ_ERR_BCBAD)); |
410 | lj_err_throw(L, LUA_ERRSYNTAX); | 410 | lj_err_throw(L, LUA_ERRSYNTAX); |
411 | } | 411 | } |
412 | return 1; | 412 | return 1; |