aboutsummaryrefslogtreecommitdiff
path: root/src/compile/functions.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/functions.c
parent7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff)
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/functions.c')
-rw-r--r--src/compile/functions.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/compile/functions.c b/src/compile/functions.c
index 6fc626cf..665c7379 100644
--- a/src/compile/functions.c
+++ b/src/compile/functions.c
@@ -1,8 +1,6 @@
// This file defines how to compile functions
-#include "functions.h"
#include "../ast.h"
-#include "expressions.h"
#include "../environment.h"
#include "../naming.h"
#include "../stdlib/datatypes.h"
@@ -13,17 +11,7 @@
#include "../stdlib/util.h"
#include "../typecheck.h"
#include "../types.h"
-#include "blocks.h"
-#include "declarations.h"
-#include "integers.h"
-#include "lists.h"
-#include "promotions.h"
-#include "sets.h"
-#include "statements.h"
-#include "structs.h"
-#include "tables.h"
-#include "text.h"
-#include "types.h"
+#include "compilation.h"
public
Text_t compile_function_declaration(env_t *env, ast_t *ast) {