lang: fix a bunch of compiler warnings
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define IVY_LANG_AST_H_
|
||||
|
||||
#include <blue/core/queue.h>
|
||||
#include <ivy/lang/operator.h>
|
||||
#include <ivy/misc.h>
|
||||
#include <ivy/status.h>
|
||||
|
||||
@@ -65,7 +66,7 @@ struct ivy_ast_unit_node {
|
||||
|
||||
struct ivy_ast_op_node {
|
||||
struct ivy_ast_node n_base;
|
||||
enum ivy_ast_op n_op;
|
||||
enum ivy_operator_id n_op;
|
||||
struct ivy_ast_node *n_left; // NULL for unary operators.
|
||||
struct ivy_ast_node *n_right;
|
||||
};
|
||||
@@ -248,7 +249,6 @@ IVY_API void ivy_ast_node_print(struct ivy_ast_node *node);
|
||||
IVY_API void ivy_ast_node_destroy(struct ivy_ast_node *node);
|
||||
|
||||
IVY_API const char *ivy_ast_node_type_to_string(enum ivy_ast_node_type v);
|
||||
IVY_API const char *ivy_ast_op_to_string(enum ivy_ast_op v);
|
||||
IVY_API const char *ivy_ast_msgh_recipient_type_to_string(
|
||||
enum ivy_ast_msgh_recipient_type v);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user