diff options
author | Nadrieril | 2020-06-25 14:09:24 +0100 |
---|---|---|
committer | Nadrieril | 2020-06-25 15:12:09 +0100 |
commit | 812fb88102082493d1176aab7ee61b5339821492 (patch) | |
tree | 2a809604c2d3a4374b61f2c96e382ed0b59a1cf0 /dhall/src/syntax/text | |
parent | e3cdf3f386b6a682981e6bdf6ca6d215b0d0788d (diff) |
spec: ensure `keyword` rule only matches keywords
Diffstat (limited to '')
-rw-r--r-- | dhall/src/syntax/text/dhall.abnf | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dhall/src/syntax/text/dhall.abnf b/dhall/src/syntax/text/dhall.abnf index 362a436..26f6eab 100644 --- a/dhall/src/syntax/text/dhall.abnf +++ b/dhall/src/syntax/text/dhall.abnf @@ -370,7 +370,9 @@ NaN = %x4e.61.4e Some = %x53.6f.6d.65
toMap = %x74.6f.4d.61.70
assert = %x61.73.73.65.72.74
-forall = %x2200 / %x66.6f.72.61.6c.6c ; "∀" / "forall"
+forall-keyword = %x66.6f.72.61.6c.6c ; "forall"
+forall-symbol = %x2200 ; "∀"
+forall = forall-symbol / forall-keyword
with = %x77.69.74.68
; Unused rule that could be used as negative lookahead in the
@@ -382,7 +384,7 @@ keyword = / assert / as
/ Infinity / NaN
/ merge / Some / toMap
- / forall
+ / forall-keyword
/ with
builtin =
|