From 071bdd4d6facb8786f089882d53c127e6163e3ce Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 19 Mar 2019 21:31:57 +0100 Subject: Set file scope when parser is created. No need to resolve for every @import instance --- include/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/compiler.h b/include/compiler.h index 47d4471..a7fbb34 100644 --- a/include/compiler.h +++ b/include/compiler.h @@ -17,7 +17,7 @@ struct amal_compiler { ScopedAllocator allocator; Scope root_scope; Buffer/**/ parsers; - Buffer/**/ queued_files; + Buffer/**/ queued_files; HashMap/**/ file_scopes; ParserThreadData *threads; int usable_thread_count; -- cgit v1.2.3