diff options
author | Mike Pall <mike> | 2012-09-21 16:32:24 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-09-21 16:32:24 +0200 |
commit | 3dceaa9a7422497aab88dac7c58467c101c5f785 (patch) | |
tree | 696564bf8ba4ee3b6a7ffd47cdc8ef1e33d7cde9 /src/lj_errmsg.h | |
parent | 98f05808fac3b2c439034b9eca55e7e9492e3a9f (diff) | |
download | luajit-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.h | 2 |
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") | |||
111 | ERRDEF(JITOPT, "unknown or malformed optimization flag " LUA_QS) | 111 | ERRDEF(JITOPT, "unknown or malformed optimization flag " LUA_QS) |
112 | 112 | ||
113 | /* Lexer/parser errors. */ | 113 | /* Lexer/parser errors. */ |
114 | ERRDEF(XMODE, "attempt to load chunk with wrong mode") | ||
114 | ERRDEF(XNEAR, "%s near " LUA_QS) | 115 | ERRDEF(XNEAR, "%s near " LUA_QS) |
115 | ERRDEF(XELEM, "lexical element too long") | 116 | ERRDEF(XELEM, "lexical element too long") |
116 | ERRDEF(XLINES, "chunk has too many lines") | 117 | ERRDEF(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. */ |
145 | ERRDEF(BCFMT, "cannot load incompatible bytecode") | 146 | ERRDEF(BCFMT, "cannot load incompatible bytecode") |
146 | ERRDEF(BCBAD, "cannot load malformed bytecode") | 147 | ERRDEF(BCBAD, "cannot load malformed bytecode") |
147 | ERRDEF(BCHEAD, "attempt to load bytecode with extra header") | ||
148 | 148 | ||
149 | #if LJ_HASFFI | 149 | #if LJ_HASFFI |
150 | /* FFI errors. */ | 150 | /* FFI errors. */ |