diff options
author | Nadrieril Feneanar | 2019-09-20 21:12:57 +0200 |
---|---|---|
committer | GitHub | 2019-09-20 21:12:57 +0200 |
commit | e5bba4a0d148c647ff9c1a372a6470b3b3bfdc6e (patch) | |
tree | 45e5d0c715b9db8c1b30a019a6c971a7340c5117 /dhall_generated_parser/src | |
parent | 4424d3ece5db10527ae446a685a579ae768ef943 (diff) | |
parent | 4daead27eb65e3a38869924f0f3ed1f425de1b33 (diff) |
Merge branch 'master' into fintan/canonicalize
Diffstat (limited to 'dhall_generated_parser/src')
-rw-r--r-- | dhall_generated_parser/src/lib.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dhall_generated_parser/src/lib.rs b/dhall_generated_parser/src/lib.rs index 280b75e..fbb9ccd 100644 --- a/dhall_generated_parser/src/lib.rs +++ b/dhall_generated_parser/src/lib.rs @@ -14,4 +14,9 @@ // additional overrides are done in ../build.rs. // The lines that are commented out in ./dhall.pest.visibility are marked as // silent (see pest docs for what that means) in the generated pest file. -include!(concat!(env!("OUT_DIR"), "/grammar.rs")); + +use pest_derive::Parser; + +#[derive(Parser)] +#[grammar = "dhall.pest"] +pub struct DhallParser; |