mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 14:28:40 +00:00
do not apply invalid auto view rules:
This commit is contained in:
@@ -11988,9 +11988,12 @@ rd_frame(void)
|
|||||||
E_TokenArray tokens = e_token_array_from_text(scratch.arena, type_string);
|
E_TokenArray tokens = e_token_array_from_text(scratch.arena, type_string);
|
||||||
E_Parse type_parse = e_parse_type_from_text_tokens(scratch.arena, type_string, &tokens);
|
E_Parse type_parse = e_parse_type_from_text_tokens(scratch.arena, type_string, &tokens);
|
||||||
E_TypeKey type_key = e_type_from_expr(type_parse.expr);
|
E_TypeKey type_key = e_type_from_expr(type_parse.expr);
|
||||||
|
if(!e_type_key_match(e_type_key_zero(), type_key))
|
||||||
|
{
|
||||||
ev_auto_view_rule_table_push_new(scratch.arena, auto_view_rule_table, type_key, view_rule_string, 0);
|
ev_auto_view_rule_table_push_new(scratch.arena, auto_view_rule_table, type_key, view_rule_string, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ev_select_auto_view_rule_table(auto_view_rule_table);
|
ev_select_auto_view_rule_table(auto_view_rule_table);
|
||||||
|
|
||||||
////////////////////////////
|
////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user