aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 579ec5b79..bce451043 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -186,7 +186,6 @@ struct AstPackage {
struct Parser {
String init_fullpath;
StringSet imported_files; // fullpath
- StringMap<AstPackage *> package_map; // Key(package name)
Array<AstPackage *> packages;
Array<ImportedPackage> package_imports;
isize file_to_process_count;
@@ -195,6 +194,7 @@ struct Parser {
BlockingMutex import_mutex;
BlockingMutex file_add_mutex;
BlockingMutex file_decl_mutex;
+ BlockingMutex packages_mutex;
MPMCQueue<ParseFileError> file_error_queue;
};