Fix incorrect error returned in parse_consecutive
This commit is contained in:
1 parent
4a4523a1f0
commit
d13b6102c1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user