aboutsummaryrefslogtreecommitdiff
path: root/lparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.h')
-rw-r--r--lparser.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lparser.h b/lparser.h
index fdbb9b8a..e479905e 100644
--- a/lparser.h
+++ b/lparser.h
@@ -97,10 +97,11 @@ typedef struct expdesc {
97/* kinds of variables */ 97/* kinds of variables */
98#define VDKREG 0 /* regular local */ 98#define VDKREG 0 /* regular local */
99#define RDKCONST 1 /* local constant */ 99#define RDKCONST 1 /* local constant */
100#define RDKTOCLOSE 2 /* to-be-closed */ 100#define RDKVATAB 2 /* vararg table */
101#define RDKCTC 3 /* local compile-time constant */ 101#define RDKTOCLOSE 3 /* to-be-closed */
102#define GDKREG 4 /* regular global */ 102#define RDKCTC 4 /* local compile-time constant */
103#define GDKCONST 5 /* global constant */ 103#define GDKREG 5 /* regular global */
104#define GDKCONST 6 /* global constant */
104 105
105/* variables that live in registers */ 106/* variables that live in registers */
106#define varinreg(v) ((v)->vd.kind <= RDKTOCLOSE) 107#define varinreg(v) ((v)->vd.kind <= RDKTOCLOSE)