diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1655,6 +1655,9 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) { | |||
1655 | int level = getnum; | 1655 | int level = getnum; |
1656 | luaL_traceback(L1, L1, msg, level); | 1656 | luaL_traceback(L1, L1, msg, level); |
1657 | } | 1657 | } |
1658 | else if EQ("threadstatus") { | ||
1659 | lua_pushstring(L1, statcodes[lua_status(L1)]); | ||
1660 | } | ||
1658 | else if EQ("return") { | 1661 | else if EQ("return") { |
1659 | int n = getnum; | 1662 | int n = getnum; |
1660 | if (L1 != L) { | 1663 | if (L1 != L) { |