aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-03 11:53:59 +0000
committergingerBill <bill@gingerbill.org>2023-01-03 11:53:59 +0000
commit600f2b7284b8974a18827242c18e790dab0cf06a (patch)
tree8a3480469c53a719cbadd1eb0ebdd6df3c337137 /src/parser.cpp
parent670274ad8fc5ba52ea11c2d864d1915e107cc0e2 (diff)
Use heap_allocator for all hash set types
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 4d2a8ecf4..046469c16 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -4854,7 +4854,7 @@ gb_internal void destroy_ast_file(AstFile *f) {
gb_internal bool init_parser(Parser *p) {
GB_ASSERT(p != nullptr);
- string_set_init(&p->imported_files, heap_allocator());
+ string_set_init(&p->imported_files);
array_init(&p->packages, heap_allocator());
return true;
}