diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1766,6 +1766,9 @@ static struct X { int x; } x; | |||
1766 | else if EQ("toclose") { | 1766 | else if EQ("toclose") { |
1767 | lua_toclose(L1, getnum); | 1767 | lua_toclose(L1, getnum); |
1768 | } | 1768 | } |
1769 | else if EQ("closeslot") { | ||
1770 | lua_closeslot(L1, getnum); | ||
1771 | } | ||
1769 | else luaL_error(L, "unknown instruction %s", buff); | 1772 | else luaL_error(L, "unknown instruction %s", buff); |
1770 | } | 1773 | } |
1771 | return 0; | 1774 | return 0; |