From 610dffa617f9e2059ef533b3845a31a6daade10e Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Tue, 7 Sep 2021 20:35:32 +0200 Subject: Add arena in static indexing, and add tests to check the builtin indexed files. --- src/testing/testing.odin | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/testing') 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 { -- cgit v1.2.3