Fix incorrect error returned in parse_consecutive
This commit is contained in:
parent
a09d591e86
commit
249f0190d8
@ -53,7 +53,7 @@ parse_result_t parse_consecutive(tokenlist_entry_t *current, node_id_t id,
|
||||
error_t *err = ast_node_alloc(&all);
|
||||
parse_result_t result;
|
||||
if (err)
|
||||
return parse_no_match();
|
||||
return parse_error(err);
|
||||
|
||||
all->id = id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user