Working on the ast_from_node function (redirected statements)
This commit is contained in:
parent
175efe0f2f
commit
0b5b5e4d7e
1 changed files with 1 additions and 2 deletions
|
|
@ -1052,8 +1052,7 @@ t_error build_sym_redirected_statement(t_parse_node self, t_const_str input, t_a
|
||||||
{
|
{
|
||||||
if (ast_from_node(ts_node_child(self, i++), input, &ret))
|
if (ast_from_node(ts_node_child(self, i++), input, &ret))
|
||||||
return (ast_free(ret_tmp), ERROR);
|
return (ast_free(ret_tmp), ERROR);
|
||||||
else
|
continue;
|
||||||
ret_tmp = NULL;
|
|
||||||
}
|
}
|
||||||
if (ast_from_node(ts_node_child(self, i++), input, &tmp))
|
if (ast_from_node(ts_node_child(self, i++), input, &tmp))
|
||||||
return ((void)!((ret != ret_tmp) && (ast_free(ret_tmp), true)), ast_free(ret), ERROR);
|
return ((void)!((ret != ret_tmp) && (ast_free(ret_tmp), true)), ast_free(ret), ERROR);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue