소스 검색

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 년 전
committed by GitHub
부모
커밋
7ce69c7c91
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      examples/lark.lark

+ 1
- 1
examples/lark.lark 파일 보기

@@ -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]/*


불러오는 중...
취소
저장