Sfoglia il codice sorgente

Oops

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Erez Shinan 7 anni fa
parent
commit
4e89084336
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      lark/parsers/earley.py

+ 1
- 1
lark/parsers/earley.py Vedi File

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


Caricamento…
Annulla
Salva