aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/parser.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/parser.h b/include/parser.h
index ae5cfa6..88bed93 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -27,8 +27,7 @@ struct Parser {
LhsExpr file_decl;
Scope *current_scope;
bool has_func_parent;
- /* Borrowed from @compiler for faster access to allocator. The allocator is thread-specific */
- ArenaAllocator *allocator;
+ ArenaAllocator *allocator; /* Owned */
amal_compiler *compiler;
Ssa *ssa;
bool started;