Skip to content

Commit

Permalink
Merge pull request #1305 from lark-parser/issue1304
Browse files Browse the repository at this point in the history
Bugfix in propagate positions
  • Loading branch information
erezsh committed Jul 20, 2023
2 parents 3d9f4a2 + 5961d72 commit d0052b0
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 d0052b0

Please sign in to comment.