diff --git a/yarp/yarp.c b/yarp/yarp.c index 71b7e2f895..6f3d875860 100644 --- a/yarp/yarp.c +++ b/yarp/yarp.c @@ -2289,8 +2289,8 @@ yp_if_node_create(yp_parser_t *parser, *node = (yp_if_node_t) { { - .flags = YP_NODE_FLAG_NEWLINE, .type = YP_NODE_IF_NODE, + .flags = YP_NODE_FLAG_NEWLINE, .location = { .start = if_keyword->start, .end = end @@ -2316,8 +2316,8 @@ yp_if_node_modifier_create(yp_parser_t *parser, yp_node_t *statement, const yp_t *node = (yp_if_node_t) { { - .flags = YP_NODE_FLAG_NEWLINE, .type = YP_NODE_IF_NODE, + .flags = YP_NODE_FLAG_NEWLINE, .location = { .start = statement->location.start, .end = predicate->location.end @@ -2349,8 +2349,8 @@ yp_if_node_ternary_create(yp_parser_t *parser, yp_node_t *predicate, yp_node_t * *node = (yp_if_node_t) { { - .flags = YP_NODE_FLAG_NEWLINE, .type = YP_NODE_IF_NODE, + .flags = YP_NODE_FLAG_NEWLINE, .location = { .start = predicate->location.start, .end = false_expression->location.end, @@ -3985,8 +3985,8 @@ yp_unless_node_create(yp_parser_t *parser, const yp_token_t *keyword, yp_node_t *node = (yp_unless_node_t) { { - .flags = YP_NODE_FLAG_NEWLINE, .type = YP_NODE_UNLESS_NODE, + .flags = YP_NODE_FLAG_NEWLINE, .location = { .start = keyword->start, .end = end @@ -4012,8 +4012,8 @@ yp_unless_node_modifier_create(yp_parser_t *parser, yp_node_t *statement, const *node = (yp_unless_node_t) { { - .flags = YP_NODE_FLAG_NEWLINE, .type = YP_NODE_UNLESS_NODE, + .flags = YP_NODE_FLAG_NEWLINE, .location = { .start = statement->location.start, .end = predicate->location.end