lang: ast: fix infinite b_queue iteration

This commit is contained in:
2025-11-15 22:49:03 +00:00
parent 42fcfafa38
commit db1eba08b8

View File

@@ -76,6 +76,8 @@ static void to_string(struct ivy_ast_node *node, b_string *str)
b_string_append_cstr(str, tok->t_str); b_string_append_cstr(str, tok->t_str);
i++; i++;
entry = b_queue_next(entry);
} }
b_string_append_cstr(str, ")"); b_string_append_cstr(str, ")");