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