Skip to content

Commit

Permalink
Bugfix in propagate positions (issue #1304)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Jul 20, 2023
1 parent e4df024 commit 5961d72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lark/parse_tree_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __call__(self, children):

res_meta.container_end_line = getattr(last_meta, 'container_end_line', last_meta.end_line)
res_meta.container_end_column = getattr(last_meta, 'container_end_column', last_meta.end_column)
res_meta.container_end_pos = getattr(first_meta, 'container_end_pos', last_meta.end_pos)
res_meta.container_end_pos = getattr(last_meta, 'container_end_pos', last_meta.end_pos)

return res

Expand Down

0 comments on commit 5961d72

Please sign in to comment.