summaryrefslogtreecommitdiff
path: root/src/ast-parser-lexer-shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast-parser-lexer-shared.h')
-rw-r--r--src/ast-parser-lexer-shared.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast-parser-lexer-shared.h b/src/ast-parser-lexer-shared.h
index 3ebdf1ca..cb0f7bd8 100644
--- a/src/ast-parser-lexer-shared.h
+++ b/src/ast-parser-lexer-shared.h
@@ -138,7 +138,7 @@ union Token {
Memory memory;
Module* module;
RawModule raw_module;
- Script script;
+ Script* script;
Table table;
TextList text_list;
TypeVector types;
@@ -149,7 +149,7 @@ union Token {
};
struct AstParser {
- Script script;
+ Script* script;
SourceErrorHandler* error_handler;
int errors;
/* Cached pointers to reallocated parser buffers, so they don't leak. */