Browse Source

Bug fixes to Transformer_NoRecurse

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Kevin Latimer 6 years ago
parent
commit
240cf1ca21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark/tree.py

+ 1
- 1
lark/tree.py View File

@@ -182,7 +182,7 @@ class Transformer_NoRecurse(Transformer):
else:
return f(t)

for subtree in reversed(subtrees):
for subtree in subtrees:
children = []
for c in subtree.children:
try:


Loading…
Cancel
Save