lang: ast: add state size to ast_node_type
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user