aboutsummaryrefslogtreecommitdiff
path: root/environment.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-14 02:37:56 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-14 02:37:56 -0400
commitfdc3eadba25aff7894419e483519e73150be33d4 (patch)
treeae0bf68e1bfa501fd9010b66d2211b0b1ef59a23 /environment.h
parent130ddc8ea04060ec52d9a2fd03da8c9662d32f9c (diff)
Array comprehensions
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.h b/environment.h
index 2ab7a9d2..8abc889a 100644
--- a/environment.h
+++ b/environment.h
@@ -38,6 +38,7 @@ typedef struct {
env_t *new_compilation_unit(void);
env_t *global_scope(env_t *env);
env_t *fresh_scope(env_t *env);
+env_t *for_scope(env_t *env, ast_t *ast);
env_t *namespace_env(env_t *env, const char *namespace_name);
__attribute__((noreturn))
void compiler_err(file_t *f, const char *start, const char *end, const char *fmt, ...);