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

@@ -36,7 +36,7 @@ struct package_parser_state {
static enum ivy_status add_package_item(struct package_parser_state *state, struct ivy_ast_node *index, struct ivy_ast_node *value)
{
struct ivy_ast_pkg_static_item_node *item = (struct ivy_ast_pkg_static_item_node *)ast_node_create(IVY_AST_PKG_STATIC_ITEM);
struct ivy_ast_pkg_static_item_node *item = (struct ivy_ast_pkg_static_item_node *)ast_node_create(IVY_AST_PKG_ITEM);
if (!item) {
return IVY_ERR_NO_MEMORY;
}