aboutsummaryrefslogtreecommitdiff
path: root/src/lj_lex.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-09-21 16:32:24 +0200
committerMike Pall <mike>2012-09-21 16:32:24 +0200
commit3dceaa9a7422497aab88dac7c58467c101c5f785 (patch)
tree696564bf8ba4ee3b6a7ffd47cdc8ef1e33d7cde9 /src/lj_lex.c
parent98f05808fac3b2c439034b9eca55e7e9492e3a9f (diff)
downloadluajit-3dceaa9a7422497aab88dac7c58467c101c5f785.tar.gz
luajit-3dceaa9a7422497aab88dac7c58467c101c5f785.tar.bz2
luajit-3dceaa9a7422497aab88dac7c58467c101c5f785.zip
Move load/dump functions to lj_load.c. Add load modes.
Diffstat (limited to 'src/lj_lex.c')
-rw-r--r--src/lj_lex.c2
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;