aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
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. */