diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-19 14:22:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-19 14:22:03 -0400 |
| commit | adbb07fdc27af677923fb5453b845c7cd7b135a7 (patch) | |
| tree | 490caac013b97a49545487c956b8586b82ceeb9c /environment.h | |
| parent | 7b444cd8249c933fb24e5195d9c511156f8b22f4 (diff) | |
Module imports
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/environment.h b/environment.h index dc94df23..43f6b0ff 100644 --- a/environment.h +++ b/environment.h @@ -16,6 +16,7 @@ typedef struct { CORD funcs; CORD typeinfos; CORD main; + CORD object_files; } compilation_unit_t; typedef struct { @@ -32,6 +33,7 @@ typedef struct loop_ctx_s { typedef struct { 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; |
