diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-14 14:13:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-14 14:13:23 -0400 |
| commit | d3f14cf53cf857b90184900a726e3ee0875dea80 (patch) | |
| tree | b1f89d5be1781ce4ed1384446bc53b51118d0350 /environment.h | |
| parent | 4e6d8162bfa7149c3b947c6c759f82c1f52ef4d7 (diff) | |
Support nested lambda closures
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 3 |
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; |
