aboutsummaryrefslogtreecommitdiff
path: root/environment.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-05 14:57:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-05 14:57:31 -0400
commit391c1b6bde0d5fd6f306f9613109e18ec487afe7 (patch)
tree8d3f097b90e36230e09e7b06089a7298cba6e982 /environment.h
parentabe45a3c25fc8b7ba53635fd517653976d94b107 (diff)
Rename table_t -> Table_t
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/environment.h b/environment.h
index 98d61d84..86b8cc6c 100644
--- a/environment.h
+++ b/environment.h
@@ -18,8 +18,8 @@ typedef struct {
typedef struct fn_ctx_s {
struct fn_ctx_s *parent;
type_t *return_type;
- table_t *closure_scope;
- table_t *closed_vars;
+ Table_t *closure_scope;
+ Table_t *closed_vars;
} fn_ctx_t;
typedef struct deferral_s {
@@ -42,11 +42,11 @@ typedef struct namespace_s {
} namespace_t;
typedef struct env_s {
- table_t *types, *globals, *locals;
+ Table_t *types, *globals, *locals;
// Lookup table for env_t* where the key is:
// - Resolved path for local imports (so that `use ./foo.tm` is the same as `use ./baz/../foo.tm`)
// - Raw 'use' string for module imports
- table_t *imports;
+ Table_t *imports;
compilation_unit_t *code;
fn_ctx_t *fn_ctx;
loop_ctx_t *loop_ctx;