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/fieldaccess.c | |
| parent | 7a69fe78adcc6abc596e6b1386cded7c57da67e1 (diff) | |
Shared includes for compile folder to reduce duplicate code
Diffstat (limited to 'src/compile/fieldaccess.c')
| -rw-r--r-- | src/compile/fieldaccess.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/compile/fieldaccess.c b/src/compile/fieldaccess.c index 93b31665..f1780fc9 100644 --- a/src/compile/fieldaccess.c +++ b/src/compile/fieldaccess.c @@ -1,4 +1,5 @@ // This file defines how to compile field accessing like `foo.x` + #include "../ast.h" #include "../config.h" #include "../environment.h" @@ -6,11 +7,7 @@ #include "../stdlib/text.h" #include "../stdlib/util.h" #include "../typecheck.h" -#include "declarations.h" -#include "enums.h" -#include "expressions.h" -#include "pointers.h" -#include "structs.h" +#include "compilation.h" Text_t compile_field_access(env_t *env, ast_t *ast) { DeclareMatch(f, ast, FieldAccess); |
