aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-17 10:44:42 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-10-17 10:44:42 -0300
commitbd96330d037660d9a1769c6c0d989f017e5f0278 (patch)
treec3f4580c628a71f512b057b7f52987153cb88d74 /ltm.c
parent4cd1f4aac01184765818e0cebf02da454ccf6590 (diff)
downloadlua-bd96330d037660d9a1769c6c0d989f017e5f0278.tar.gz
lua-bd96330d037660d9a1769c6c0d989f017e5f0278.tar.bz2
lua-bd96330d037660d9a1769c6c0d989f017e5f0278.zip
First "complete" implementation of to-be-closed variables
Still missing: - handling of memory errors when creating upvalue (must run closing method all the same) - interaction with coroutines
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltm.c b/ltm.c
index 5c148180..53e15c7f 100644
--- a/ltm.c
+++ b/ltm.c
@@ -43,7 +43,7 @@ void luaT_init (lua_State *L) {
43 "__div", "__idiv", 43 "__div", "__idiv",
44 "__band", "__bor", "__bxor", "__shl", "__shr", 44 "__band", "__bor", "__bxor", "__shl", "__shr",
45 "__unm", "__bnot", "__lt", "__le", 45 "__unm", "__bnot", "__lt", "__le",
46 "__concat", "__call" 46 "__concat", "__call", "__close"
47 }; 47 };
48 int i; 48 int i;
49 for (i=0; i<TM_N; i++) { 49 for (i=0; i<TM_N; i++) {