summaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r--src/lj_errmsg.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index 7b0c15cd..dc015ef2 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -84,7 +84,7 @@ ERRDEF(IOCLFL, "attempt to use a closed file")
84ERRDEF(IOSTDCL, "standard file is closed") 84ERRDEF(IOSTDCL, "standard file is closed")
85ERRDEF(OSUNIQF, "unable to generate a unique filename") 85ERRDEF(OSUNIQF, "unable to generate a unique filename")
86ERRDEF(OSDATEF, "field " LUA_QS " missing in date table") 86ERRDEF(OSDATEF, "field " LUA_QS " missing in date table")
87ERRDEF(STRDUMP, "cannot dump functions") 87ERRDEF(STRDUMP, "unable to dump given function")
88ERRDEF(STRSLC, "string slice too long") 88ERRDEF(STRSLC, "string slice too long")
89ERRDEF(STRPATB, "missing " LUA_QL("[") " after " LUA_QL("%f") " in pattern") 89ERRDEF(STRPATB, "missing " LUA_QL("[") " after " LUA_QL("%f") " in pattern")
90ERRDEF(STRPATC, "invalid pattern capture") 90ERRDEF(STRPATC, "invalid pattern capture")
@@ -119,7 +119,6 @@ ERRDEF(XLCOM, "unfinished long comment")
119ERRDEF(XSTR, "unfinished string") 119ERRDEF(XSTR, "unfinished string")
120ERRDEF(XESC, "invalid escape sequence") 120ERRDEF(XESC, "invalid escape sequence")
121ERRDEF(XLDELIM, "invalid long string delimiter") 121ERRDEF(XLDELIM, "invalid long string delimiter")
122ERRDEF(XBCLOAD, "cannot load Lua bytecode")
123ERRDEF(XTOKEN, LUA_QS " expected") 122ERRDEF(XTOKEN, LUA_QS " expected")
124ERRDEF(XJUMP, "control structure too long") 123ERRDEF(XJUMP, "control structure too long")
125ERRDEF(XSLOTS, "function or expression too complex") 124ERRDEF(XSLOTS, "function or expression too complex")
@@ -137,6 +136,10 @@ ERRDEF(XSYNTAX, "syntax error")
137ERRDEF(XBREAK, "no loop to break") 136ERRDEF(XBREAK, "no loop to break")
138ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") 137ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected")
139 138
139/* Bytecode reader errors. */
140ERRDEF(BCFMT, "cannot load incompatible bytecode")
141ERRDEF(BCBAD, "cannot load malformed bytecode")
142
140#if LJ_HASFFI 143#if LJ_HASFFI
141/* FFI errors. */ 144/* FFI errors. */
142ERRDEF(FFI_INVTYPE, "invalid C type") 145ERRDEF(FFI_INVTYPE, "invalid C type")