mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07:00
Parallelization of the Parser
~66% reduction (unoptimized build) ~30% reduction (optimized build)
This commit is contained in:
@@ -2279,6 +2279,8 @@ void check_parsed_files(Checker *c) {
|
||||
scope->file = f;
|
||||
if (f->tokenizer.fullpath == c->parser->init_fullpath) {
|
||||
scope->is_init = true;
|
||||
} else if (f->file_kind == ImportedFile_Init) {
|
||||
scope->is_init = true;
|
||||
}
|
||||
|
||||
if (scope->is_global) {
|
||||
|
||||
Reference in New Issue
Block a user