From 68c1120e7e52a462e2a5d6d867d0dfaf06b05614 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 3 Mar 2019 19:18:46 +0100 Subject: Extract iter-matching code --- dhall_parser/build.rs | 2 +- dhall_parser/src/dhall.pest.visibility | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'dhall_parser') 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 -- cgit v1.2.3