diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:28:11 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:28:11 -0300 |
commit | 888f91fa24d7561471acb87ddafc156408dd3617 (patch) | |
tree | 81d17820c81cf8c98bcff12b0ec7373b12e18bd8 /lfunc.c | |
parent | c1db0b2bf1ba9c5e60d77fd70f8de06aab2e0e93 (diff) | |
download | lua-888f91fa24d7561471acb87ddafc156408dd3617.tar.gz lua-888f91fa24d7561471acb87ddafc156408dd3617.tar.bz2 lua-888f91fa24d7561471acb87ddafc156408dd3617.zip |
code check for upvalues
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lfunc.c,v 1.39 2001/02/01 17:40:48 roberto Exp roberto $ | 2 | ** $Id: lfunc.c,v 1.40 2001/02/09 20:22:29 roberto Exp roberto $ |
3 | ** Auxiliary functions to manipulate prototypes and closures | 3 | ** Auxiliary functions to manipulate prototypes and closures |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -37,6 +37,7 @@ Proto *luaF_newproto (lua_State *L) { | |||
37 | f->sizekproto = 0; | 37 | f->sizekproto = 0; |
38 | f->code = NULL; | 38 | f->code = NULL; |
39 | f->sizecode = 0; | 39 | f->sizecode = 0; |
40 | f->nupvalues = 0; | ||
40 | f->numparams = 0; | 41 | f->numparams = 0; |
41 | f->is_vararg = 0; | 42 | f->is_vararg = 0; |
42 | f->maxstacksize = 0; | 43 | f->maxstacksize = 0; |