aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:22:22 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-11-29 18:22:22 -0200
commit413fc7334bf8ceaea71417d73edef15c99d3a793 (patch)
tree50e762d979ad8e80681902cdeb8aa42b041ae323 /ldo.c
parentfca0a12e23f964006ce43d35ab86b27c6bbb0a48 (diff)
downloadlua-413fc7334bf8ceaea71417d73edef15c99d3a793.tar.gz
lua-413fc7334bf8ceaea71417d73edef15c99d3a793.tar.bz2
lua-413fc7334bf8ceaea71417d73edef15c99d3a793.zip
new implementation for lua upvalues (sugested by E.T.): simpler and solves
a bug for multi-stacks
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ldo.c b/ldo.c
index f28dca44..4e7722e3 100644
--- a/ldo.c
+++ b/ldo.c
@@ -215,7 +215,6 @@ static void f_parser (lua_State *L, void *ud) {
215 Proto *tf = p->bin ? luaU_undump(L, p->z) : luaY_parser(L, p->z); 215 Proto *tf = p->bin ? luaU_undump(L, p->z) : luaY_parser(L, p->z);
216 Closure *cl = luaF_newLclosure(L, 0); 216 Closure *cl = luaF_newLclosure(L, 0);
217 cl->l.p = tf; 217 cl->l.p = tf;
218 luaF_LConlist(L, cl);
219 setclvalue(L->top, cl); 218 setclvalue(L->top, cl);
220 incr_top; 219 incr_top;
221} 220}