Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
jmg
/
gitmirror
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
39
Wiki
Attività
Sfoglia il codice sorgente
Oops
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.5.1
Erez Shinan
7 anni fa
parent
121d54ec3a
commit
4e89084336
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+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):
Scrivi
Anteprima
Caricamento…
Annulla
Salva