aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-09-10 03:43:01 -0700
committerBruce Hill <bruce@bruce-hill.com>2020-09-10 03:43:01 -0700
commit62302ec85ea88fa04a1ea451bc7b4fc1fed17932 (patch)
tree0345e65f3349a3a470bc2bd67fafce016d76b405
parent4e201e6a70e60d24b22ce62109b5af3d90c0a27e (diff)
Fixed old "->"
-rw-r--r--bpeg.bpeg8
1 files changed, 4 insertions, 4 deletions
diff --git a/bpeg.bpeg b/bpeg.bpeg
index ad5936c..6bd62da 100644
--- a/bpeg.bpeg
+++ b/bpeg.bpeg
@@ -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;