Increase Code_Index name_hash size
This commit is contained in:
parent
6ae690691c
commit
2ab0c0a2de
|
@ -28,15 +28,15 @@ enum{
|
||||||
|
|
||||||
struct Code_Index_Nest{
|
struct Code_Index_Nest{
|
||||||
Code_Index_Nest *next;
|
Code_Index_Nest *next;
|
||||||
|
|
||||||
Code_Index_Nest_Kind kind;
|
Code_Index_Nest_Kind kind;
|
||||||
b32 is_closed;
|
b32 is_closed;
|
||||||
Range_i64 open;
|
Range_i64 open;
|
||||||
Range_i64 close;
|
Range_i64 close;
|
||||||
|
|
||||||
struct Code_Index_File *file;
|
struct Code_Index_File *file;
|
||||||
Code_Index_Nest *parent;
|
Code_Index_Nest *parent;
|
||||||
|
|
||||||
Code_Index_Nest_List nest_list;
|
Code_Index_Nest_List nest_list;
|
||||||
Code_Index_Nest_Ptr_Array nest_array;
|
Code_Index_Nest_Ptr_Array nest_array;
|
||||||
};
|
};
|
||||||
|
@ -56,7 +56,7 @@ struct Code_Index_Note{
|
||||||
String_Const_u8 text;
|
String_Const_u8 text;
|
||||||
struct Code_Index_File *file;
|
struct Code_Index_File *file;
|
||||||
Code_Index_Nest *parent;
|
Code_Index_Nest *parent;
|
||||||
|
|
||||||
Code_Index_Note *prev_in_hash;
|
Code_Index_Note *prev_in_hash;
|
||||||
Code_Index_Note *next_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_first;
|
||||||
Code_Index_File_Storage *storage_last;
|
Code_Index_File_Storage *storage_last;
|
||||||
i32 storage_count;
|
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;
|
Generic_Parse_Comment_Function *handle_comment;
|
||||||
u8 *prev_line_start;
|
u8 *prev_line_start;
|
||||||
b32 finished;
|
b32 finished;
|
||||||
|
|
||||||
i32 scope_counter;
|
i32 scope_counter;
|
||||||
i32 paren_counter;
|
i32 paren_counter;
|
||||||
b32 in_preprocessor;
|
b32 in_preprocessor;
|
||||||
b32 in_statement;
|
b32 in_statement;
|
||||||
|
|
||||||
b32 do_cpp_parse;
|
b32 do_cpp_parse;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue