lang: ast: fix match node type specifying wrong node size
This commit is contained in:
@@ -233,7 +233,7 @@ struct ast_node_type match_node_ops = {
|
||||
.n_add_child = add_child,
|
||||
.n_collect_children = match_collect_children,
|
||||
.n_state_size = sizeof(struct match_parser_state),
|
||||
.n_node_size = sizeof(struct ivy_ast_cond_group_node),
|
||||
.n_node_size = sizeof(struct ivy_ast_match_node),
|
||||
.n_keyword_parsers = {
|
||||
KW_PARSER(MATCH, parse_match),
|
||||
KW_PARSER(IN, parse_in),
|
||||
|
||||
Reference in New Issue
Block a user