ソースを参照

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
この署名に対応する既知のキーがデータベースに存在しません 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]/*


読み込み中…
キャンセル
保存