aboutsummaryrefslogtreecommitdiff
path: root/src/compile/whens.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 19:45:19 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 19:45:19 -0400
commitcfe1bd5cb72a12f3bfc643f64b33444ad63502f9 (patch)
tree01297e6d0a360b6b2aa6cc64243bfffc150647f0 /src/compile/whens.c
parent7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff)
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/whens.c')
-rw-r--r--src/compile/whens.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/compile/whens.c b/src/compile/whens.c
index 6af2ecf1..d9bef9e1 100644
--- a/src/compile/whens.c
+++ b/src/compile/whens.c
@@ -1,6 +1,5 @@
// This file defines how to compile 'when' statements/expressions
-#include "whens.h"
#include "../ast.h"
#include "../config.h"
#include "../environment.h"
@@ -9,11 +8,7 @@
#include "../stdlib/text.h"
#include "../stdlib/util.h"
#include "../typecheck.h"
-#include "blocks.h"
-#include "declarations.h"
-#include "expressions.h"
-#include "statements.h"
-#include "types.h"
+#include "compilation.h"
public
Text_t compile_when_statement(env_t *env, ast_t *ast) {