summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2020-06-25 14:22:48 +0100
committerNadrieril2020-06-25 15:12:09 +0100
commitba61655649f4dd6117125430e49aba5ce4f92392 (patch)
treefc926065397f56e18674471532a3e94d0a8e1ca7 /dhall
parent8fd2fb4871335c72b9448da4a66144fd7f986f09 (diff)
spec: remove Unicode character from `dhall.abnf`
Diffstat (limited to 'dhall')
-rw-r--r--dhall/build.rs1
-rw-r--r--dhall/src/syntax/text/dhall.abnf2
2 files changed, 1 insertions, 2 deletions
diff --git a/dhall/build.rs b/dhall/build.rs
index 3dcdd5e..22f0e8f 100644
--- a/dhall/build.rs
+++ b/dhall/build.rs
@@ -15,7 +15,6 @@ fn convert_abnf_to_pest() -> std::io::Result<()> {
let mut data = read_to_string(abnf_path)?;
data.push('\n');
- let data = data.replace('∀', ""); // TODO: waiting for abnf 0.6.1
let mut rules = abnf_to_pest::parse_abnf(&data)?;
for line in BufReader::new(File::open(visibility_path)?).lines() {
diff --git a/dhall/src/syntax/text/dhall.abnf b/dhall/src/syntax/text/dhall.abnf
index 4061de2..173209c 100644
--- a/dhall/src/syntax/text/dhall.abnf
+++ b/dhall/src/syntax/text/dhall.abnf
@@ -371,7 +371,7 @@ Some = %x53.6f.6d.65
toMap = %x74.6f.4d.61.70
assert = %x61.73.73.65.72.74
forall-keyword = %x66.6f.72.61.6c.6c ; "forall"
-forall-symbol = %x2200 ; "∀"
+forall-symbol = %x2200 ; Unicode FOR ALL
forall = forall-symbol / forall-keyword
with = %x77.69.74.68