diff options
Diffstat (limited to 'include/parse.h')
-rw-r--r-- | include/parse.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/parse.h b/include/parse.h index 8cc4985..de30f39 100644 --- a/include/parse.h +++ b/include/parse.h @@ -1,7 +1,10 @@ #ifndef CERC_PARSE_H #define CERC_PARSE_H -#include "lex.h" -#include "type.h" +#include "expr.h" + +struct ast_expr { + struct disjunction_e dis; +}; struct ast_externfunc { const char *name; @@ -47,13 +50,8 @@ struct ast_const_global { } value; }; -struct ast_path { - const char **segments; - int len, cap; -}; - struct ast_import { - struct ast_path path; + struct path path; const char *name; }; |