summaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-19 09:11:55 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-12-19 09:11:55 -0200
commitdd8edecae19251a3b89502416a2e7f8e75b2bd20 (patch)
tree10c94c2a2f89f534ca9a5b9b2591008bda8eae17 /lparser.h
parent28021c5c663702a1b1890f0e5d280c36be8a6c16 (diff)
downloadlua-github-dd8edecae19251a3b89502416a2e7f8e75b2bd20.tar.gz
new functions to manipulate upvales (get/setupvalue)
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lparser.h b/lparser.h
index 011c59fe..b426c800 100644
--- a/lparser.h
+++ b/lparser.h
@@ -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 */