diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 08:59:34 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-10-16 08:59:34 -0200 |
commit | 45ccb0e881064492a3f422b15b50dad71eed36fa (patch) | |
tree | d819206b4af4fb9a257534471455ce233c1c93e3 /lfunc.c | |
parent | 4be18fa889657ebd317f5311ecf65da64891242b (diff) | |
download | lua-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |