lang: update bluelib api usage
This commit is contained in:
@@ -236,11 +236,12 @@ static void try_collect_children(
|
||||
|
||||
ast_node_iterator_enqueue_node(iterator, node, try->n_try);
|
||||
|
||||
b_queue_iterator it = {0};
|
||||
b_queue_foreach (&it, &try->n_catch) {
|
||||
b_queue_entry *entry = b_queue_first(&try->n_catch);
|
||||
while (entry) {
|
||||
struct ivy_ast_node *catch
|
||||
= b_unbox(struct ivy_ast_node, it.entry, n_entry);
|
||||
= b_unbox(struct ivy_ast_node, entry, n_entry);
|
||||
ast_node_iterator_enqueue_node(iterator, node, catch);
|
||||
entry = b_queue_next(entry);
|
||||
}
|
||||
|
||||
if (try->n_finally) {
|
||||
|
||||
Reference in New Issue
Block a user