From 4592e95fa937e5e8ef8343053b9d5accb2aa5d56 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 21 Mar 2024 13:33:10 -0400 Subject: Pull namespaces from the type binding --- environment.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'environment.h') 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; -- cgit v1.2.3