diff options
Diffstat (limited to 'src/lj_errmsg.h')
| -rw-r--r-- | src/lj_errmsg.h | 4 |
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") | |||
| 140 | ERRDEF(XSYNTAX, "syntax error") | 140 | ERRDEF(XSYNTAX, "syntax error") |
| 141 | ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") | 141 | ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") |
| 142 | ERRDEF(XBREAK, "no loop to break") | 142 | ERRDEF(XBREAK, "no loop to break") |
| 143 | ERRDEF(XCONT, "no loop to continue") | ||
| 143 | ERRDEF(XLUNDEF, "undefined label " LUA_QS) | 144 | ERRDEF(XLUNDEF, "undefined label " LUA_QS) |
| 144 | ERRDEF(XLDUP, "duplicate label " LUA_QS) | 145 | ERRDEF(XLDUP, "duplicate label " LUA_QS) |
| 145 | ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS) | 146 | ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS) |
| 147 | ERRDEF(XCSCOPE, "<continue> jumps into the scope of local " LUA_QS) | ||
| 148 | ERRDEF(XCONSTA, "attempt to assign to const variable " LUA_QS) | ||
| 149 | ERRDEF(XCONSTR, "attempt to re-declare const variable " LUA_QS) | ||
| 146 | 150 | ||
| 147 | /* Bytecode reader errors. */ | 151 | /* Bytecode reader errors. */ |
| 148 | ERRDEF(BCFMT, "cannot load incompatible bytecode") | 152 | ERRDEF(BCFMT, "cannot load incompatible bytecode") |
