diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 19:45:19 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-24 19:45:19 -0400 |
| commit | cfe1bd5cb72a12f3bfc643f64b33444ad63502f9 (patch) | |
| tree | 01297e6d0a360b6b2aa6cc64243bfffc150647f0 /src/compile/blocks.c | |
| parent | 7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff) | |
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/blocks.c')
| -rw-r--r-- | src/compile/blocks.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compile/blocks.c b/src/compile/blocks.c index c533c801..1059fd34 100644 --- a/src/compile/blocks.c +++ b/src/compile/blocks.c @@ -1,14 +1,12 @@ // This file defines how to compile blocks -#include "blocks.h" #include "../ast.h" -#include "expressions.h" #include "../environment.h" #include "../stdlib/datatypes.h" #include "../stdlib/text.h" #include "../stdlib/util.h" #include "../typecheck.h" -#include "statements.h" +#include "compilation.h" public Text_t compile_block(env_t *env, ast_t *ast) { return Texts("{\n", compile_inline_block(env, ast), "}\n"); } |
