Kaynağa Gözat

Use accepts in default example (even though it's not necessary)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh 4 yıl önce
ebeveyn
işleme
00e736fda3
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      examples/error_reporting_lalr.py

+ 1
- 1
examples/error_reporting_lalr.py Dosyayı Görüntüle

@@ -52,7 +52,7 @@ def parse(json_text):
'[1,2,]',
'{"foo":1,}',
'{"foo":false,"bar":true,}']
})
}, use_accepts=True)
if not exc_class:
raise
raise exc_class(u.get_context(json_text), u.line, u.column)


Yükleniyor…
İptal
Kaydet