diff options
author | Nadrieril | 2019-03-03 19:18:46 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-03 19:30:58 +0100 |
commit | 68c1120e7e52a462e2a5d6d867d0dfaf06b05614 (patch) | |
tree | 8e6e8214c40050041a0aceaacb0c3d75302d3c36 /dhall_parser | |
parent | 78219b72c27c4312410db33cef1f4f1d96febbf0 (diff) |
Extract iter-matching code
Diffstat (limited to '')
-rw-r--r-- | dhall_parser/build.rs | 2 | ||||
-rw-r--r-- | dhall_parser/src/dhall.pest.visibility | 1 |
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 |