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