diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-09 20:45:57 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-09 20:45:57 +0200 |
| commit | 22617323ab40d28480541527957f76697e308d2c (patch) | |
| tree | a423d1b4f87da05dad700d1035d6cce04151dc52 /src/server/documents.odin | |
| parent | 28d4e76ecc635c1c386ff914d4db6c92eea092e8 (diff) | |
Restructed the indexer
Diffstat (limited to 'src/server/documents.odin')
| -rw-r--r-- | src/server/documents.odin | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/documents.odin b/src/server/documents.odin index 3e3cb3c..335fc87 100644 --- a/src/server/documents.odin +++ b/src/server/documents.odin @@ -182,7 +182,7 @@ document_setup :: proc(document: ^Document) { } } else { document.fullpath = document.uri.path - } + } } /* @@ -453,5 +453,11 @@ parse_imports :: proc(document: ^Document, config: ^common.Config) { } } + for imp in imports { + try_build_package(imp.name) + } + + try_build_package(document.package_name) + document.imports = imports[:] } |