Skip to content

Commit

Permalink
[ruby/prism] Revert incorrect synthesized true node change
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton authored and matzbot committed May 17, 2024
1 parent aed93ba commit 0649c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prism/prism.c
Original file line number Diff line number Diff line change
Expand Up @@ -7482,7 +7482,7 @@ pm_true_node_synthesized_create(pm_parser_t *parser) {
*node = (pm_true_node_t) {{
.type = PM_TRUE_NODE,
.flags = PM_NODE_FLAG_STATIC_LITERAL,
.location = PM_LOCATION_NULL_VALUE(parser)
.location = { .start = parser->start, .end = parser->end }
}};

return node;
Expand Down

0 comments on commit 0649c1e

Please sign in to comment.