Przeglądaj źródła

Bug fixes to Transformer_NoRecurse

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Kevin Latimer 6 lat temu
rodzic
commit
240cf1ca21
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      lark/tree.py

+ 1
- 1
lark/tree.py Wyświetl plik

@@ -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:


Ładowanie…
Anuluj
Zapisz