diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-05 19:31:50 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-05 19:31:50 -0800 |
| commit | d8d2a5a66e9530387a5a1380219aedc833379b23 (patch) | |
| tree | 9539a7c8751257340e7c7ff309236a683a2d3b9e /grammars | |
| parent | 00226cb76314ed69869c951b3cdb589393c3ca52 (diff) | |
Changed precedence of =>
Diffstat (limited to 'grammars')
| -rw-r--r-- | grammars/bpeg.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammars/bpeg.bp b/grammars/bpeg.bp index 8a223b2..4855255 100644 --- a/grammars/bpeg.bp +++ b/grammars/bpeg.bp @@ -34,7 +34,7 @@ Char: (@s=. / @!=(''=> "Expected a character following the '`'")) Escape-range: `\ @low=escape-sequence `- @high=escape-sequence Escape: `\ (@s=escape-sequence / $ @!=(''=>"Backslashes are used for escape sequences, not splitting lines") - / @!=((. *(Abc/`0-9)) => "Invalid escape sequence: '@0'") + / @!=(. *(Abc/`0-9) => "Invalid escape sequence: '@0'") ) escape-sequence: ( `n,t,r,e,b,a,v |
