diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 13:33:10 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-21 13:33:10 -0400 |
| commit | 4592e95fa937e5e8ef8343053b9d5accb2aa5d56 (patch) | |
| tree | a4c7f425539ce1bece62824f4accd9e1e1132c3e /environment.h | |
| parent | f142b4ae537dff46d7df0509ca6a9e616e9b1812 (diff) | |
Pull namespaces from the type binding
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/environment.h b/environment.h index 43f6b0ff..40ddb8ec 100644 --- a/environment.h +++ b/environment.h @@ -31,10 +31,9 @@ typedef struct loop_ctx_s { CORD skip_label, stop_label; } loop_ctx_t; -typedef struct { +typedef struct env_s { table_t *types, *globals, *locals; table_t *imports; // Map of 'use' name -> env_t* - table_t *type_namespaces; // Map of type name -> namespace table compilation_unit_t *code; fn_ctx_t *fn_ctx; loop_ctx_t *loop_ctx; |
