diff options
Diffstat (limited to 'lparser.h')
-rw-r--r-- | lparser.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | /* kinds of variables/expressions */ | 24 | /* kinds of variables/expressions */ |
25 | typedef enum { | 25 | typedef enum { |
26 | VVOID, /* when 'expdesc' describes the last expression a list, | 26 | VVOID, /* when 'expdesc' describes the last expression of a list, |
27 | this kind means an empty list (so, no expression) */ | 27 | this kind means an empty list (so, no expression) */ |
28 | VNIL, /* constant nil */ | 28 | VNIL, /* constant nil */ |
29 | VTRUE, /* constant true */ | 29 | VTRUE, /* constant true */ |
@@ -38,7 +38,8 @@ typedef enum { | |||
38 | VLOCAL, /* local variable; var.sidx = stack index (local register); | 38 | VLOCAL, /* local variable; var.sidx = stack index (local register); |
39 | var.vidx = relative index in 'actvar.arr' */ | 39 | var.vidx = relative index in 'actvar.arr' */ |
40 | VUPVAL, /* upvalue variable; info = index of upvalue in 'upvalues' */ | 40 | VUPVAL, /* upvalue variable; info = index of upvalue in 'upvalues' */ |
41 | VCONST, /* compile-time constant; info = absolute index in 'actvar.arr' */ | 41 | VCONST, /* compile-time <const> variable; |
42 | info = absolute index in 'actvar.arr' */ | ||
42 | VINDEXED, /* indexed variable; | 43 | VINDEXED, /* indexed variable; |
43 | ind.t = table register; | 44 | ind.t = table register; |
44 | ind.idx = key's R index */ | 45 | ind.idx = key's R index */ |