[FIX] check parenthse

This commit is contained in:
tekClovis
2025-05-09 14:22:25 +02:00
parent 84e9c931d5
commit 7afcd21706

View File

@@ -54,16 +54,16 @@ bool handle_parentheses(ast_t *node, size_t *i, args_t *args)
while (in_str < node->vector.tokens[*i].sz){
if (!ensure_args_capacity(args))
return false;
return true;
vl = take_next_parenthese_arg(node, &in_str, i);
if (vl == NULL)
return free((void *)args->args), false;
return free((void *)args->args), true;
args->args[args->sz] = vl;
args->sz++;
}
args->args[args->sz] = nullptr;
args->sz--;
return true;
return false;
}
static