diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-19 09:11:55 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-12-19 09:11:55 -0200 |
commit | dd8edecae19251a3b89502416a2e7f8e75b2bd20 (patch) | |
tree | 10c94c2a2f89f534ca9a5b9b2591008bda8eae17 /lparser.h | |
parent | 28021c5c663702a1b1890f0e5d280c36be8a6c16 (diff) | |
download | lua-github-dd8edecae19251a3b89502416a2e7f8e75b2bd20.tar.gz |
new functions to manipulate upvales (get/setupvalue)
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lparser.h,v 1.44 2002/05/14 17:52:22 roberto Exp roberto $ +** $Id: lparser.h,v 1.45 2002/10/08 18:46:08 roberto Exp roberto $ ** Lua Parser ** See Copyright Notice in lua.h */ @@ -58,6 +58,7 @@ typedef struct FuncState { int freereg; /* first free register */ int nk; /* number of elements in `k' */ int np; /* number of elements in `p' */ + int nu; /* number of elements in `upvalues' */ int nlocvars; /* number of elements in `locvars' */ int nactvar; /* number of active local variables */ expdesc upvalues[MAXUPVALUES]; /* upvalues */ |