aboutsummaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-13 14:42:33 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-13 14:42:33 -0500
commit2e8f8b348a62da08d155c101be55a38e404dc4a7 (patch)
tree7a4d6382040d251ba6892db3eb7e0cc7a397daf8 /compile.h
parent5de71394a3630f1b7c1a42a11d93866f5ea4eacb (diff)
Change compilation ordering by splitting into chunks
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/compile.h b/compile.h
index d8b98789..9a69053c 100644
--- a/compile.h
+++ b/compile.h
@@ -5,9 +5,10 @@
#include <stdio.h>
#include "util.h"
+#include "environment.h"
-CORD compile_type(type_ast_t *t);
-CORD compile(ast_t *ast);
-CORD compile_statement(ast_t *ast);
+CORD compile_type(env_t *env, type_ast_t *t);
+CORD compile(env_t *env, ast_t *ast);
+CORD compile_statement(env_t *env, ast_t *ast);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0