aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-16 08:59:34 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-10-16 08:59:34 -0200
commit45ccb0e881064492a3f422b15b50dad71eed36fa (patch)
treed819206b4af4fb9a257534471455ce233c1c93e3 /ldo.c
parent4be18fa889657ebd317f5311ecf65da64891242b (diff)
downloadlua-45ccb0e881064492a3f422b15b50dad71eed36fa.tar.gz
lua-45ccb0e881064492a3f422b15b50dad71eed36fa.tar.bz2
lua-45ccb0e881064492a3f422b15b50dad71eed36fa.zip
"nupvalues" is kept in Closure, not in prototype (as a preparation
for C closures...)
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.c b/ldo.c
index ca3cdc67..f10d614c 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ 2** $Id: ldo.c,v 1.2 1997/09/26 15:02:26 roberto Exp roberto $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -338,7 +338,7 @@ static int protectedparser (ZIO *z, char *chunkname, int bin)
338 luaD_adjusttop(luaD_Cstack.base+1); /* one slot for the pseudo-function */ 338 luaD_adjusttop(luaD_Cstack.base+1); /* one slot for the pseudo-function */
339 luaD_stack.stack[luaD_Cstack.base].ttype = LUA_T_PROTO; 339 luaD_stack.stack[luaD_Cstack.base].ttype = LUA_T_PROTO;
340 luaD_stack.stack[luaD_Cstack.base].value.tf = tf; 340 luaD_stack.stack[luaD_Cstack.base].value.tf = tf;
341 luaV_closure(); 341 luaV_closure(0);
342 return 0; 342 return 0;
343} 343}
344 344