aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lparser.h b/lparser.h
index 3ee6f7f0..e38ad7e5 100644
--- a/lparser.h
+++ b/lparser.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.h,v 1.72 2013/08/30 16:01:37 roberto Exp roberto $ 2** $Id: lparser.h,v 1.73 2014/06/19 18:27:20 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -21,7 +21,7 @@ typedef enum {
21 VNIL, 21 VNIL,
22 VTRUE, 22 VTRUE,
23 VFALSE, 23 VFALSE,
24 VK, /* info = index of constant in `k' */ 24 VK, /* info = index of constant in 'k' */
25 VKFLT, /* nval = numerical float value */ 25 VKFLT, /* nval = numerical float value */
26 VKINT, /* nval = numerical integer value */ 26 VKINT, /* nval = numerical integer value */
27 VNONRELOC, /* info = result register */ 27 VNONRELOC, /* info = result register */
@@ -50,8 +50,8 @@ typedef struct expdesc {
50 lua_Number nval; /* for VKFLT */ 50 lua_Number nval; /* for VKFLT */
51 lua_Integer ival; /* for VKINT */ 51 lua_Integer ival; /* for VKINT */
52 } u; 52 } u;
53 int t; /* patch list of `exit when true' */ 53 int t; /* patch list of 'exit when true' */
54 int f; /* patch list of `exit when false' */ 54 int f; /* patch list of 'exit when false' */
55} expdesc; 55} expdesc;
56 56
57 57
@@ -100,11 +100,11 @@ typedef struct FuncState {
100 struct FuncState *prev; /* enclosing function */ 100 struct FuncState *prev; /* enclosing function */
101 struct LexState *ls; /* lexical state */ 101 struct LexState *ls; /* lexical state */
102 struct BlockCnt *bl; /* chain of current blocks */ 102 struct BlockCnt *bl; /* chain of current blocks */
103 int pc; /* next position to code (equivalent to `ncode') */ 103 int pc; /* next position to code (equivalent to 'ncode') */
104 int lasttarget; /* 'label' of last 'jump label' */ 104 int lasttarget; /* 'label' of last 'jump label' */
105 int jpc; /* list of pending jumps to `pc' */ 105 int jpc; /* list of pending jumps to 'pc' */
106 int nk; /* number of elements in `k' */ 106 int nk; /* number of elements in 'k' */
107 int np; /* number of elements in `p' */ 107 int np; /* number of elements in 'p' */
108 int firstlocal; /* index of first local var (in Dyndata array) */ 108 int firstlocal; /* index of first local var (in Dyndata array) */
109 short nlocvars; /* number of elements in 'f->locvars' */ 109 short nlocvars; /* number of elements in 'f->locvars' */
110 lu_byte nactvar; /* number of active local variables */ 110 lu_byte nactvar; /* number of active local variables */