This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
gitmirror
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
39
Wiki
Activity
Browse Source
Bug in PropagatePositions when supplying a reducing transformer
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.2
Erez Shinan
7 years ago
parent
3abf16bf67
commit
3ac32fa5f0
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lark/parse_tree_builder.py
+ 1
- 1
lark/parse_tree_builder.py
View File
@@ -27,7 +27,7 @@ class PropagatePositions:
def __call__(self, children):
res = self.node_builder(children)
if children:
if children
and isinstance(res, Tree)
:
for a in children:
if isinstance(a, Tree):
res.meta.line = a.meta.line
Write
Preview
Loading…
Cancel
Save