aboutsummaryrefslogtreecommitdiff
path: root/lfunc.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 /lfunc.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 'lfunc.c')
-rw-r--r--lfunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index 3f13a89a..4e802cee 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 1.1 1997/09/16 19:25:59 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.2 1997/09/26 16:46:20 roberto Exp roberto $
3** Lua Funcion auxiliar 3** Lua Funcion auxiliar
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -32,7 +32,6 @@ TProtoFunc *luaF_newproto (void)
32 f->fileName = NULL; 32 f->fileName = NULL;
33 f->consts = NULL; 33 f->consts = NULL;
34 f->nconsts = 0; 34 f->nconsts = 0;
35 f->nupvalues = 0;
36 f->locvars = NULL; 35 f->locvars = NULL;
37 luaO_insertlist(&luaF_root, (GCnode *)f); 36 luaO_insertlist(&luaF_root, (GCnode *)f);
38 return f; 37 return f;