mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-25 13:05:00 -07:00
more robustness to malformed expressions
This commit is contained in:
+1
-1
@@ -1353,7 +1353,7 @@ e_push_irtree_and_type_from_expr(Arena *arena, E_IRTreeAndType *root_parent, B32
|
||||
// left-hand-side of the dot operator as the first argument. this is a fast path
|
||||
// which prevents paren nesting in simple cases, to easily chain multiple
|
||||
// calls - for example, bin(2).digits(4)
|
||||
else if(lhs->kind == E_ExprKind_MemberAccess)
|
||||
else if(lhs->kind == E_ExprKind_MemberAccess && lhs->first->next != &e_expr_nil)
|
||||
{
|
||||
E_Expr *callee = lhs->first->next;
|
||||
E_Expr *first_arg = e_expr_ref(arena, lhs->first);
|
||||
|
||||
@@ -557,6 +557,7 @@ ev_block_tree_from_eval(Arena *arena, EV_View *view, String8 filter, E_Eval root
|
||||
{
|
||||
expansion_row_count = viz_expand_info.row_count;
|
||||
}
|
||||
expansion_row_count = Min(0x0fffffffffffffffull, expansion_row_count);
|
||||
|
||||
// rjf: determine if this expansion supports child expansions
|
||||
B32 allow_child_expansions = 1;
|
||||
|
||||
Reference in New Issue
Block a user