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/binops.c | |
| parent | 7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff) | |
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/binops.c')
| -rw-r--r-- | src/compile/binops.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/compile/binops.c b/src/compile/binops.c index 469ef60c..87fd2c7a 100644 --- a/src/compile/binops.c +++ b/src/compile/binops.c @@ -1,19 +1,13 @@ // This file defines how to compile binary operations #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 "../types.h" -#include "declarations.h" -#include "functions.h" -#include "optionals.h" -#include "promotions.h" -#include "statements.h" -#include "types.h" +#include "compilation.h" static PUREFUNC Text_t compile_unsigned_type(type_t *t) { if (t->tag != IntType) errx(1, "Not an int type, so unsigned doesn't make sense!"); |
