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/optionals.c | |
| parent | 7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff) | |
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/optionals.c')
| -rw-r--r-- | src/compile/optionals.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compile/optionals.c b/src/compile/optionals.c index 0c844c75..1cd86c29 100644 --- a/src/compile/optionals.c +++ b/src/compile/optionals.c @@ -1,6 +1,5 @@ // This file defines how to compile optionals and null -#include "expressions.h" #include "../environment.h" #include "../naming.h" #include "../stdlib/datatypes.h" @@ -8,9 +7,7 @@ #include "../stdlib/util.h" #include "../typecheck.h" #include "../types.h" -#include "declarations.h" -#include "text.h" -#include "types.h" +#include "compilation.h" Text_t optional_into_nonnone(type_t *t, Text_t value) { if (t->tag == OptionalType) t = Match(t, OptionalType)->type; |
