Переглянути джерело

Oops

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Erez Shinan 7 роки тому
джерело
коміт
4e89084336
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      lark/parsers/earley.py

+ 1
- 1
lark/parsers/earley.py Переглянути файл

@@ -265,7 +265,7 @@ def _compare_drv(tree1, tree2):
if c:
return c

return -compare(len(tree1.children), len(tree2.children))
return compare(len(tree1.children), len(tree2.children))


def _resolve_ambig(tree):


Завантаження…
Відмінити
Зберегти