aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parser.h b/include/parser.h
index 9b41e5e..531d67d 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -31,6 +31,7 @@ typedef struct {
ScopedAllocator *allocator; /* borrowed. Copied from @compiler for faster access to allocator */
amal_compiler *compiler;
bool started;
+ TokenizerError error;
} Parser;
CHECK_RESULT int parser_thread_data_init(ParserThreadData *self);