diff --git a/lang/ast/unit-package.c b/lang/ast/unit-package.c index baaf418..5c01b1f 100644 --- a/lang/ast/unit-package.c +++ b/lang/ast/unit-package.c @@ -1,10 +1,15 @@ #include +#include #include -#include "unit-package.h" #include "ctx.h" #include "node.h" +struct unit_package_parser_state { + struct parser_state s_base; + int s_prev_token; +}; + static enum ivy_status parse_dot(struct ivy_parser *ctx, struct ivy_token *tok) { struct unit_package_parser_state *state diff --git a/lang/ast/unit-package.h b/lang/ast/unit-package.h deleted file mode 100644 index 1477bfd..0000000 --- a/lang/ast/unit-package.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef _AST_UNIT_PACKAGE_H_ -#define _AST_UNIT_PACKAGE_H_ - -#include "ctx.h" - -#include - -struct unit_package_parser_state { - struct parser_state s_base; - int s_prev_token; -}; - -#endif diff --git a/lang/ast/unit.c b/lang/ast/unit.c index 2c50e5d..18d8943 100644 --- a/lang/ast/unit.c +++ b/lang/ast/unit.c @@ -1,7 +1,6 @@ #include #include "ctx.h" #include "node.h" -#include "unit-package.h" #include "iterate.h" static enum ivy_status parse_package_keyword(