summaryrefslogtreecommitdiff
path: root/dhall_parser
diff options
context:
space:
mode:
authorNadrieril2019-03-03 19:18:46 +0100
committerNadrieril2019-03-03 19:30:58 +0100
commit68c1120e7e52a462e2a5d6d867d0dfaf06b05614 (patch)
tree8e6e8214c40050041a0aceaacb0c3d75302d3c36 /dhall_parser
parent78219b72c27c4312410db33cef1f4f1d96febbf0 (diff)
Extract iter-matching code
Diffstat (limited to '')
-rw-r--r--dhall_parser/build.rs2
-rw-r--r--dhall_parser/src/dhall.pest.visibility1
2 files changed, 1 insertions, 2 deletions
diff --git a/dhall_parser/build.rs b/dhall_parser/build.rs
index 6001efe..8dd5875 100644
--- a/dhall_parser/build.rs
+++ b/dhall_parser/build.rs
@@ -28,7 +28,7 @@ fn main() -> std::io::Result<()> {
let mut file = File::create(pest_path)?;
writeln!(&mut file, "{}", abnf_to_pest(&data, &rule_settings)?)?;
- writeln!(&mut file, "final_expression = _{{ SOI ~ complete_expression ~ EOI }}")?;
+ writeln!(&mut file, "final_expression = {{ SOI ~ complete_expression ~ EOI }}")?;
Ok(())
}
diff --git a/dhall_parser/src/dhall.pest.visibility b/dhall_parser/src/dhall.pest.visibility
index e7aba3f..776af24 100644
--- a/dhall_parser/src/dhall.pest.visibility
+++ b/dhall_parser/src/dhall.pest.visibility
@@ -165,4 +165,3 @@ non_empty_union_type_or_literal
non_empty_list_literal_raw
# parenthesized_expression_raw
# complete_expression
-# final_expression