lang: update bluelib api usage
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
#include "ctx.h"
|
||||
#include "node.h"
|
||||
#include "iterate.h"
|
||||
#include <blue/object/string.h>
|
||||
#include "node.h"
|
||||
|
||||
#include <blue/ds/string.h>
|
||||
|
||||
static void to_string(struct ivy_ast_node *node, b_string *str)
|
||||
{
|
||||
struct ivy_ast_op_node *op = (struct ivy_ast_op_node *)node;
|
||||
|
||||
b_string_append_cstrf(str, "%s (%s)", ivy_ast_node_type_to_string(node->n_type), ivy_operator_id_to_string(op->n_op->op_id));
|
||||
b_string_append_cstrf(
|
||||
str, "%s (%s)", ivy_ast_node_type_to_string(node->n_type),
|
||||
ivy_operator_id_to_string(op->n_op->op_id));
|
||||
}
|
||||
|
||||
static void collect_children(
|
||||
|
||||
Reference in New Issue
Block a user