From 2ab0c0a2deae55fb1dd307a174a9211b1b441e57 Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Mon, 7 Jul 2025 12:32:45 -0700 Subject: [PATCH] Increase Code_Index name_hash size --- code/custom/4coder_code_index.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/code/custom/4coder_code_index.h b/code/custom/4coder_code_index.h index 1b99f78e..e41a939d 100644 --- a/code/custom/4coder_code_index.h +++ b/code/custom/4coder_code_index.h @@ -28,15 +28,15 @@ enum{ struct Code_Index_Nest{ Code_Index_Nest *next; - + Code_Index_Nest_Kind kind; b32 is_closed; Range_i64 open; Range_i64 close; - + struct Code_Index_File *file; Code_Index_Nest *parent; - + Code_Index_Nest_List nest_list; Code_Index_Nest_Ptr_Array nest_array; }; @@ -56,7 +56,7 @@ struct Code_Index_Note{ String_Const_u8 text; struct Code_Index_File *file; Code_Index_Nest *parent; - + Code_Index_Note *prev_in_hash; Code_Index_Note *next_in_hash; }; @@ -95,8 +95,8 @@ struct Code_Index{ Code_Index_File_Storage *storage_first; Code_Index_File_Storage *storage_last; i32 storage_count; - - Code_Index_Note_List name_hash[4099]; + + Code_Index_Note_List name_hash[10000]; }; //////////////////////////////// @@ -112,12 +112,12 @@ struct Generic_Parse_State{ Generic_Parse_Comment_Function *handle_comment; u8 *prev_line_start; b32 finished; - + i32 scope_counter; i32 paren_counter; b32 in_preprocessor; b32 in_statement; - + b32 do_cpp_parse; };