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/functions.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/compile/functions.c') 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) { -- cgit v1.2.3