aboutsummaryrefslogtreecommitdiff
path: root/environment.h
diff options
context:
space:
mode:
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/environment.h b/environment.h
index be87b857..80723b0f 100644
--- a/environment.h
+++ b/environment.h
@@ -14,7 +14,8 @@ typedef struct {
CORD typeinfos;
} compilation_unit_t;
-typedef struct {
+typedef struct fn_ctx_s {
+ struct fn_ctx_s *parent;
type_t *return_type;
table_t *closure_scope;
table_t *closed_vars;