diff options
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. */ |