diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-09-07 20:35:32 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-09-07 20:35:32 +0200 |
| commit | 610dffa617f9e2059ef533b3845a31a6daade10e (patch) | |
| tree | 6ee448e9a7ea3a742467e85c030ea2afa7d3d8fd /src/testing/testing.odin | |
| parent | beb847bdb64ef80cb77e5f9d609c8ffedce6e963 (diff) | |
Add arena in static indexing, and add tests to check the builtin indexed files.
Diffstat (limited to 'src/testing/testing.odin')
| -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 07bf75d..4720497 100644 --- a/src/testing/testing.odin +++ b/src/testing/testing.odin @@ -74,7 +74,8 @@ 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.build_static_index(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 { |