summaryrefslogtreecommitdiffhomepage
path: root/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler.h b/compiler.h
index deec3d5..54f56c2 100644
--- a/compiler.h
+++ b/compiler.h
@@ -76,12 +76,14 @@ typedef struct {
ssize_t depth;
size_t from;
bool captured;
+ bool constant;
} uc_local;
typedef struct {
uc_value_t *name;
size_t index;
bool local;
+ bool constant;
} uc_upval;
uc_declare_vector(uc_locals, uc_local);