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/promotions.c | |
| parent | 7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff) | |
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/promotions.c')
| -rw-r--r-- | src/compile/promotions.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/compile/promotions.c b/src/compile/promotions.c index eff946b9..fcedce3f 100644 --- a/src/compile/promotions.c +++ b/src/compile/promotions.c @@ -1,22 +1,12 @@ // This file defines how to do type promotions during compilation -#include "promotions.h" #include "../ast.h" -#include "expressions.h" #include "../environment.h" #include "../stdlib/datatypes.h" #include "../stdlib/text.h" #include "../typecheck.h" #include "../types.h" -#include "declarations.h" -#include "functions.h" -#include "integers.h" -#include "lists.h" -#include "optionals.h" -#include "pointers.h" -#include "sets.h" -#include "tables.h" -#include "types.h" +#include "compilation.h" static Text_t quoted_str(const char *str) { return Text$quoted(Text$from_str(str), false, Text("\"")); } |
