diff --git a/lang/ast/match.c b/lang/ast/match.c index dfd6aad..e32e2d8 100644 --- a/lang/ast/match.c +++ b/lang/ast/match.c @@ -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),