lang: ast: fix infinite b_queue iteration
This commit is contained in:
@@ -76,6 +76,8 @@ static void to_string(struct ivy_ast_node *node, b_string *str)
|
||||
|
||||
b_string_append_cstr(str, tok->t_str);
|
||||
i++;
|
||||
|
||||
entry = b_queue_next(entry);
|
||||
}
|
||||
|
||||
b_string_append_cstr(str, ")");
|
||||
|
||||
Reference in New Issue
Block a user