@@ -81,7 +81,7 @@ static AstTyped* parse_global_declaration(OnyxParser* parser);
81
81
static AstEnumType * parse_enum_declaration (OnyxParser * parser );
82
82
static AstMacro * parse_macro (OnyxParser * parser );
83
83
static AstIf * parse_static_if_stmt (OnyxParser * parser , b32 parse_block_as_statements );
84
- static AstMemRes * parse_memory_reservation (OnyxParser * parser , OnyxToken * symbol , b32 thread_local );
84
+ static AstMemRes * parse_memory_reservation (OnyxParser * parser , OnyxToken * symbol , b32 is_thread_local );
85
85
static AstTyped * parse_top_level_expression (OnyxParser * parser );
86
86
static AstBinding * parse_top_level_binding (OnyxParser * parser , OnyxToken * symbol );
87
87
static void parse_top_level_statement (OnyxParser * parser );
@@ -2132,10 +2132,10 @@ static AstNode* parse_statement(OnyxParser* parser) {
2132
2132
}
2133
2133
2134
2134
if (parse_possible_directive (parser , "persist" )) {
2135
- b32 thread_local = parse_possible_directive (parser , "thread_local" );
2135
+ b32 is_thread_local = parse_possible_directive (parser , "thread_local" );
2136
2136
2137
2137
OnyxToken * symbol = expect_token (parser , Token_Type_Symbol );
2138
- AstMemRes * memres = parse_memory_reservation (parser , symbol , thread_local );
2138
+ AstMemRes * memres = parse_memory_reservation (parser , symbol , is_thread_local );
2139
2139
2140
2140
AstBinding * binding = make_node (AstBinding , Ast_Kind_Binding );
2141
2141
binding -> token = memres -> token ;
@@ -2715,10 +2715,10 @@ static AstStructType* parse_struct(OnyxParser* parser) {
2715
2715
}
2716
2716
2717
2717
if (parse_possible_directive (parser , "persist" )) {
2718
- b32 thread_local = parse_possible_directive (parser , "thread_local" );
2718
+ b32 is_thread_local = parse_possible_directive (parser , "thread_local" );
2719
2719
2720
2720
OnyxToken * symbol = expect_token (parser , Token_Type_Symbol );
2721
- AstMemRes * memres = parse_memory_reservation (parser , symbol , thread_local );
2721
+ AstMemRes * memres = parse_memory_reservation (parser , symbol , is_thread_local );
2722
2722
consume_token_if_next (parser , ';' );
2723
2723
2724
2724
AstBinding * binding = make_node (AstBinding , Ast_Kind_Binding );
0 commit comments