summaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-25 15:30:15 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-25 15:30:15 -0300
commit34840301b529686ce8168828b140a478a5d44b53 (patch)
treedaceb3978c3d40fd135fb60e9e60dbff9a47731c /ltests.c
parent41c800b352149e037bdebd5f20d2f25ed2a0e2a5 (diff)
downloadlua-34840301b529686ce8168828b140a478a5d44b53.tar.gz
lua-34840301b529686ce8168828b140a478a5d44b53.tar.bz2
lua-34840301b529686ce8168828b140a478a5d44b53.zip
To-be-closed variables in the C API
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ltests.c b/ltests.c
index a6968653..fbcb7475 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1554,6 +1554,9 @@ static struct X { int x; } x;
1554 int i = getindex; 1554 int i = getindex;
1555 return lua_yieldk(L1, nres, i, Cfunck); 1555 return lua_yieldk(L1, nres, i, Cfunck);
1556 } 1556 }
1557 else if EQ("tobeclosed") {
1558 lua_tobeclosed(L);
1559 }
1557 else luaL_error(L, "unknown instruction %s", buff); 1560 else luaL_error(L, "unknown instruction %s", buff);
1558 } 1561 }
1559 return 0; 1562 return 0;