Increase Code_Index name_hash size

This commit is contained in:
Peter Slattery 2025-07-07 12:32:45 -07:00
parent 6ae690691c
commit 2ab0c0a2de
1 changed files with 8 additions and 8 deletions

View File

@ -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;
};