diff options
author | Mike Pall <mike> | 2012-09-16 18:46:04 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-09-16 18:46:04 +0200 |
commit | ead325b0c9deafb23f499f9739acca3bb36c3e46 (patch) | |
tree | ba120a3bb3c5fb2d8b4cf30ab5341d619cba52f3 /src/lj_errmsg.h | |
parent | aed20093781541c19b5c7d6149eda71a7141bc1c (diff) | |
download | luajit-ead325b0c9deafb23f499f9739acca3bb36c3e46.tar.gz luajit-ead325b0c9deafb23f499f9739acca3bb36c3e46.tar.bz2 luajit-ead325b0c9deafb23f499f9739acca3bb36c3e46.zip |
From Lua 5.2: Add goto and ::label:: statements.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index dd3eefa8..c07d4387 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -134,8 +134,11 @@ ERRDEF(XFUNARG, "function arguments expected") | |||
134 | ERRDEF(XSYMBOL, "unexpected symbol") | 134 | ERRDEF(XSYMBOL, "unexpected symbol") |
135 | ERRDEF(XDOTS, "cannot use " LUA_QL("...") " outside a vararg function") | 135 | ERRDEF(XDOTS, "cannot use " LUA_QL("...") " outside a vararg function") |
136 | ERRDEF(XSYNTAX, "syntax error") | 136 | ERRDEF(XSYNTAX, "syntax error") |
137 | ERRDEF(XBREAK, "no loop to break") | ||
138 | ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") | 137 | ERRDEF(XFOR, LUA_QL("=") " or " LUA_QL("in") " expected") |
138 | ERRDEF(XBREAK, "no loop to break") | ||
139 | ERRDEF(XLUNDEF, "undefined label " LUA_QS) | ||
140 | ERRDEF(XLDUP, "duplicate label " LUA_QS) | ||
141 | ERRDEF(XGSCOPE, "<goto %s> jumps into the scope of local " LUA_QS) | ||
139 | 142 | ||
140 | /* Bytecode reader errors. */ | 143 | /* Bytecode reader errors. */ |
141 | ERRDEF(BCFMT, "cannot load incompatible bytecode") | 144 | ERRDEF(BCFMT, "cannot load incompatible bytecode") |