Selaa lähdekoodia

fixed lark.lark not accepting negative priorities

using `SIGNED_INT` instead of `INT` more closely matches the the grammar used by lark in `load_grammar.py`
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
starwarswii 4 vuotta sitten
committed by GitHub
vanhempi
commit
7ce69c7c91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      examples/lark.lark

+ 1
- 1
examples/lark.lark Näytä tiedosto

@@ -49,7 +49,7 @@ REGEXP: /\/(?!\/)(\\\/|\\\\|[^\/\n])*?\/[imslux]*/
_NL: /(\r?\n)+\s*/

%import common.ESCAPED_STRING -> _STRING
%import common.INT -> NUMBER
%import common.SIGNED_INT -> NUMBER
%import common.WS_INLINE

COMMENT: /\s*/ "//" /[^\n]/*


Ladataan…
Peruuta
Tallenna