diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2020-09-10 03:43:01 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2020-09-10 03:43:01 -0700 |
| commit | 62302ec85ea88fa04a1ea451bc7b4fc1fed17932 (patch) | |
| tree | 0345e65f3349a3a470bc2bd67fafce016d76b405 | |
| parent | 4e201e6a70e60d24b22ce62109b5af3d90c0a27e (diff) | |
Fixed old "->"
| -rw-r--r-- | bpeg.bpeg | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,12 +30,12 @@ anything-but = `~ ?`~ _ @pat; upto-and = `& ?`& _ @pat; repeat = ( @[min]int _ `- _ @[max]int - / @[min]{->"0"} @[max]int _ `- + / @[min]{=>"0"} @[max]int _ `- / @[min]int _ `+ @[max](/) / @[min] @[max]int - / `+ @[min]{->"1"} @[max](/) - / `* @[min]{->"0"} @[max](/) - / `? @[min]{->"0"} @[max]{->"1"} + / `+ @[min]{=>"1"} @[max](/) + / `* @[min]{=>"0"} @[max](/) + / `? @[min]{=>"0"} @[max]{=>"1"} ) _ @[repeat-pat]pat ?( __ `% __ @[sep]pat); after = `< _ pat; before = `> _ pat; |
