summaryrefslogtreecommitdiff
path: root/dhall/build.rs
diff options
context:
space:
mode:
authorNadrieril Feneanar2020-03-17 18:10:40 +0000
committerGitHub2020-03-17 18:10:40 +0000
commit6d82e0040316b4feefd3d95129829f91b595b5f2 (patch)
tree30dc5ece69d74027ed84ba7aeeb1ca575dea15ee /dhall/build.rs
parent65e8aa46344b9dc32c3ad776856791d18cc616c3 (diff)
parentcd30948242576e9262796d4ecd998b62619b0e8a (diff)
Merge pull request #143 from Nadrieril/record-puns
Implement record puns
Diffstat (limited to 'dhall/build.rs')
-rw-r--r--dhall/build.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/dhall/build.rs b/dhall/build.rs
index 6a0a3bf..ce677e3 100644
--- a/dhall/build.rs
+++ b/dhall/build.rs
@@ -374,19 +374,6 @@ fn convert_abnf_to_pest() -> std::io::Result<()> {
rules.remove("url_path");
writeln!(&mut file, "url_path = _{{ path }}")?;
- // TODO: upstream this tweak
- rules.remove("with_expression");
- writeln!(
- &mut file,
- r#"
- with_expression = {{ application_expression ~ (whsp1 ~ with ~ whsp1 ~ with_clause)* }}
- with_clause = {{
- any_label_or_some ~ (whsp ~ "." ~ whsp ~ any_label_or_some)*
- ~ whsp ~ "=" ~ whsp ~ application_expression
- }}
- "#
- )?;
-
// Work around some greediness issue in the grammar.
rules.remove("missing");
writeln!(