aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
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_errmsg.h
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_errmsg.h')
-rw-r--r--src/lj_errmsg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index 28c5ca08..da40e848 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -111,6 +111,7 @@ ERRDEF(NOJIT, "JIT compiler permanently disabled by build option")
111ERRDEF(JITOPT, "unknown or malformed optimization flag " LUA_QS) 111ERRDEF(JITOPT, "unknown or malformed optimization flag " LUA_QS)
112 112
113/* Lexer/parser errors. */ 113/* Lexer/parser errors. */
114ERRDEF(XMODE, "attempt to load chunk with wrong mode")
114ERRDEF(XNEAR, "%s near " LUA_QS) 115ERRDEF(XNEAR, "%s near " LUA_QS)
115ERRDEF(XELEM, "lexical element too long") 116ERRDEF(XELEM, "lexical element too long")
116ERRDEF(XLINES, "chunk has too many lines") 117ERRDEF(XLINES, "chunk has too many lines")
@@ -144,7 +145,6 @@ ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS)
144/* Bytecode reader errors. */ 145/* Bytecode reader errors. */
145ERRDEF(BCFMT, "cannot load incompatible bytecode") 146ERRDEF(BCFMT, "cannot load incompatible bytecode")
146ERRDEF(BCBAD, "cannot load malformed bytecode") 147ERRDEF(BCBAD, "cannot load malformed bytecode")
147ERRDEF(BCHEAD, "attempt to load bytecode with extra header")
148 148
149#if LJ_HASFFI 149#if LJ_HASFFI
150/* FFI errors. */ 150/* FFI errors. */