summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dhall/build.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/dhall/build.rs b/dhall/build.rs
index ce677e3..366f8a4 100644
--- a/dhall/build.rs
+++ b/dhall/build.rs
@@ -411,7 +411,9 @@ fn convert_abnf_to_pest() -> std::io::Result<()> {
// Setup grammar for precedence climbing
rules.remove("operator_expression");
- writeln!(&mut file, r##"
+ writeln!(
+ &mut file,
+ r##"
import_alt = {{ "?" ~ whsp1 }}
bool_or = {{ "||" }}
natural_plus = {{ "+" ~ whsp1 }}
@@ -438,7 +440,8 @@ fn convert_abnf_to_pest() -> std::io::Result<()> {
import_alt
}}
operator_expression = {{ with_expression ~ (whsp ~ operator ~ whsp ~ with_expression)* }}
- "##)?;
+ "##
+ )?;
writeln!(
&mut file,