diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1551,7 +1551,7 @@ static struct X { int x; } x; | |||
1551 | return lua_yieldk(L1, nres, i, Cfunck); | 1551 | return lua_yieldk(L1, nres, i, Cfunck); |
1552 | } | 1552 | } |
1553 | else if EQ("toclose") { | 1553 | else if EQ("toclose") { |
1554 | lua_toclose(L); | 1554 | lua_toclose(L, getnum); |
1555 | } | 1555 | } |
1556 | else luaL_error(L, "unknown instruction %s", buff); | 1556 | else luaL_error(L, "unknown instruction %s", buff); |
1557 | } | 1557 | } |