From cbe117a6d3c1f9e9167b671c752cde978c4ea8d1 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Aug 2024 14:41:31 -0400 Subject: Allow for top-level or namespace-level variables that are initialized with non-constant values by the use of an initializer function and runtime checks for whether the variable is initialized. --- environment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'environment.h') diff --git a/environment.h b/environment.h index 3957bd13..edaff809 100644 --- a/environment.h +++ b/environment.h @@ -12,6 +12,7 @@ typedef struct { CORD staticdefs; CORD funcs; CORD typeinfos; + CORD variable_initializers; } compilation_unit_t; typedef struct fn_ctx_s { -- cgit v1.2.3