diff options
Diffstat (limited to 'include/parser.h')
-rw-r--r-- | include/parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/parser.h b/include/parser.h index b9fb3b7..5c055d9 100644 --- a/include/parser.h +++ b/include/parser.h @@ -1,11 +1,11 @@ #ifndef AMALGAM_PARSER_H #define AMALGAM_PARSER_H -#include "std/buffer.h" #include "std/buffer_view.h" #include "std/scoped_allocator.h" #include "std/thread.h" #include "tokenizer.h" +#include "ast.h" #include "defs.h" #include <setjmp.h> @@ -34,7 +34,7 @@ typedef enum { typedef struct { Tokenizer tokenizer; - Buffer ast_objects; + Scope scope; ScopedAllocator *allocator; /* borrowed. Copied from @compiler for faster access to allocator */ amal_compiler *compiler; bool started; |