lang: fix lots of compiler warnings/errors
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "ctx.h"
|
||||
#include "iterate.h"
|
||||
#include "node.h"
|
||||
|
||||
static void collect_children(
|
||||
@@ -11,12 +12,14 @@ static void collect_children(
|
||||
}
|
||||
|
||||
if (msg->n_sel) {
|
||||
ast_node_iterator_enqueue_node(iterator, node, msg->n_sel);
|
||||
ast_node_iterator_enqueue_node(
|
||||
iterator, node, (struct ivy_ast_node *)msg->n_sel);
|
||||
}
|
||||
|
||||
b_queue_iterator it = {0};
|
||||
b_queue_foreach (&it, &msg->n_arg) {
|
||||
struct ivy_ast_node *arg = b_unbox(struct ivy_ast_node, it.entry, n_entry);
|
||||
struct ivy_ast_node *arg
|
||||
= b_unbox(struct ivy_ast_node, it.entry, n_entry);
|
||||
ast_node_iterator_enqueue_node(iterator, node, arg);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user