diff options
author | Nadrieril | 2019-09-01 22:46:03 +0200 |
---|---|---|
committer | Nadrieril | 2019-09-01 22:46:03 +0200 |
commit | 3e9aa3e46bd5906469751c908a0daedfe26dac22 (patch) | |
tree | 68b3bf8e798e36029b5044a166d8570db93fbe2d /dhall_syntax | |
parent | 1baef509afe52ab285e73469fc597de8f4e166b6 (diff) |
Make make_parser into a proc_macro_attribute
That way rustfmt will format the contents of the parser.
Diffstat (limited to 'dhall_syntax')
-rw-r--r-- | dhall_syntax/src/parser.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs index fa2d7c5..2864a97 100644 --- a/dhall_syntax/src/parser.rs +++ b/dhall_syntax/src/parser.rs @@ -215,7 +215,8 @@ fn make_precclimber() -> PrecClimber<Rule> { ) } -make_parser! { +#[make_parser] +impl _ { fn EOI(_: ParseInput<Rule>) -> ParseResult<()> { Ok(()) } |