diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-05-09 18:38:44 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-05-09 18:38:44 +0200 |
| commit | 9c2090e0395d68bb9a89cfd3f69f863375a27f54 (patch) | |
| tree | ac6e5eb7f139eba83718ed495019129befbb3c17 /src/testing | |
| parent | 6443fc0a31f2949993d7cd7806391fd5d7ee97c3 (diff) | |
make now works again
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/testing.odin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin index 7b30e93..ebaf4fc 100644 --- a/src/testing/testing.odin +++ b/src/testing/testing.odin @@ -73,6 +73,7 @@ setup :: proc(src: ^Source) { There is a lot code here that is used in the real code, then i'd like to see. */ + index.indexer.static_index = index.make_memory_index(index.make_symbol_collection(context.allocator, &common.config)); index.indexer.dynamic_index = index.make_memory_index(index.make_symbol_collection(context.allocator, &common.config)); for src_pkg in src.packages { @@ -108,7 +109,7 @@ setup :: proc(src: ^Source) { return; } - if ret := index.collect_symbols(&index.indexer.dynamic_index.collection, file, uri.uri); ret != .None { + if ret := index.collect_symbols(&index.indexer.static_index.collection, file, uri.uri); ret != .None { return; } } |