lang: ast: rename IVY_AST_STATIC_PKG_ITEM to IVY_AST_PKG_ITEM

This commit is contained in:
2024-12-07 21:46:24 +00:00
parent e8c30b65b5
commit 1c3bb98714
3 changed files with 11 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ static const struct ast_node_type *node_ops[] = {
[IVY_AST_LAMBDA] = &lambda_node_ops,
[IVY_AST_PKG] = &pkg_node_ops,
[IVY_AST_PKG_STATIC] = &pkg_static_node_ops,
[IVY_AST_PKG_STATIC_ITEM] = &pkg_static_item_node_ops,
[IVY_AST_PKG_ITEM] = &pkg_static_item_node_ops,
[IVY_AST_PKG_DYNAMIC] = &pkg_dynamic_node_ops,
[IVY_AST_DISCARD] = &discard_node_ops,
};
@@ -277,7 +277,7 @@ const char *ivy_ast_node_type_to_string(enum ivy_ast_node_type v)
ENUM_STR(IVY_AST_BLOCK);
ENUM_STR(IVY_AST_PKG);
ENUM_STR(IVY_AST_PKG_STATIC);
ENUM_STR(IVY_AST_PKG_STATIC_ITEM);
ENUM_STR(IVY_AST_PKG_ITEM);
ENUM_STR(IVY_AST_PKG_DYNAMIC);
ENUM_STR(IVY_AST_RETURN);
ENUM_STR(IVY_AST_TYPE_COUNT);