lang: ast: add ast node size to ast_node_type

This commit is contained in:
2024-11-24 11:46:42 +00:00
parent d43e387158
commit 70aab9998b
5 changed files with 11 additions and 13 deletions

View File

@@ -63,6 +63,7 @@ struct ast_node_type unit_package_node_ops = {
.n_print = print,
.n_init_state = init_state,
.n_state_size = sizeof(struct unit_package_parser_state),
.n_node_size = sizeof(struct ivy_ast_unit_package_node),
.n_symbol_parsers = {
[IVY_SYM_DOT] = parse_dot,
},