From ba61655649f4dd6117125430e49aba5ce4f92392 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 25 Jun 2020 14:22:48 +0100 Subject: spec: remove Unicode character from `dhall.abnf` --- dhall-lang | 2 +- dhall/build.rs | 1 - dhall/src/syntax/text/dhall.abnf | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/dhall-lang b/dhall-lang index 8637829..9358ffa 160000 --- a/dhall-lang +++ b/dhall-lang @@ -1 +1 @@ -Subproject commit 86378293333912335c7b4bfaa32a562947809512 +Subproject commit 9358ffa9c8241b0d8446d46010318758b0df38cb 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 -- cgit v1.2.3