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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index daf7fb6bf..ad8581c99 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -140,9 +140,13 @@ ERRDEF(XDOTS, "cannot use " LUA_QL("...") " outside a vararg function")
140ERRDEF(XSYNTAX, "syntax error") 140ERRDEF(XSYNTAX, "syntax error")
141ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") 141ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected")
142ERRDEF(XBREAK, "no loop to break") 142ERRDEF(XBREAK, "no loop to break")
143ERRDEF(XCONT, "no loop to continue")
143ERRDEF(XLUNDEF, "undefined label " LUA_QS) 144ERRDEF(XLUNDEF, "undefined label " LUA_QS)
144ERRDEF(XLDUP, "duplicate label " LUA_QS) 145ERRDEF(XLDUP, "duplicate label " LUA_QS)
145ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS) 146ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS)
147ERRDEF(XCSCOPE, "<continue> jumps into the scope of local " LUA_QS)
148ERRDEF(XCONSTA, "attempt to assign to const variable " LUA_QS)
149ERRDEF(XCONSTR, "attempt to re-declare const variable " LUA_QS)
146 150
147/* Bytecode reader errors. */ 151/* Bytecode reader errors. */
148ERRDEF(BCFMT, "cannot load incompatible bytecode") 152ERRDEF(BCFMT, "cannot load incompatible bytecode")