From cfe1bd5cb72a12f3bfc643f64b33444ad63502f9 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 19:45:19 -0400 Subject: Shared includes for compile folder to reduce duplicate code --- src/compile/blocks.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/compile/blocks.c') 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"); } -- cgit v1.2.3