diff options
author | Nadrieril | 2019-03-05 22:30:34 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-05 22:30:34 +0100 |
commit | e9f55783091fb1d5c07059be865d9d1fb02d3bfa (patch) | |
tree | bdb7d5b4ddbe971d17afd832f17fe2750b34377a /dhall_parser/build.rs | |
parent | f434e3fd016b30e2f8661f3b77feaaa3c67a3406 (diff) |
Parse doubles
Diffstat (limited to 'dhall_parser/build.rs')
-rw-r--r-- | dhall_parser/build.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/dhall_parser/build.rs b/dhall_parser/build.rs index 3ca36b5..743aa2d 100644 --- a/dhall_parser/build.rs +++ b/dhall_parser/build.rs @@ -38,8 +38,14 @@ fn main() -> std::io::Result<()> { let mut file = File::create(pest_path)?; writeln!(&mut file, "// AUTO-GENERATED FILE. See build.rs.")?; writeln!(&mut file, "{}", abnf_to_pest(&data, &rule_settings)?)?; - writeln!(&mut file, "keyword_raw = _{{ let_raw | in_raw | if_raw | then_raw | else_raw }}")?; - writeln!(&mut file, "final_expression = {{ SOI ~ complete_expression ~ EOI }}")?; + writeln!(&mut file, "keyword_raw = _{{ + let_raw | in_raw | if_raw | then_raw + | else_raw | Infinity_raw | NaN_raw + }}")?; + writeln!( + &mut file, + "final_expression = {{ SOI ~ complete_expression ~ EOI }}" + )?; Ok(()) } |