lang: ast: add state size to ast_node_type

This commit is contained in:
2024-11-24 11:42:43 +00:00
parent f1ea916155
commit d43e387158
5 changed files with 18 additions and 13 deletions

View File

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