aboutsummaryrefslogtreecommitdiff
path: root/environment.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-29 12:54:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-29 12:54:31 -0400
commit04d9adc8138566eec5d6bf7b233a6c617306bcce (patch)
tree8414c07e92cdd17613190cd6a8e179b2eed2f00c /environment.h
parentd94053ca7768037016cbcacc4cadf843dad1bea6 (diff)
Switch naming convention to use '$' in symbols more
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/environment.h b/environment.h
index b1b91242..fbff64b1 100644
--- a/environment.h
+++ b/environment.h
@@ -42,8 +42,11 @@ typedef struct env_s {
} env_t;
typedef struct {
- CORD code;
type_t *type;
+ union {
+ CORD code;
+ char value[0];
+ };
} binding_t;
env_t *new_compilation_unit(void);