From cddb3b0a0270cf6d41bbaa1a0e01708e91a9673c Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Tue, 27 Aug 2019 22:35:33 +0200 Subject: s/token_rule/rule/ --- dhall_syntax/src/parser.rs | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/dhall_syntax/src/parser.rs b/dhall_syntax/src/parser.rs index 8facb3e..4da1dfc 100644 --- a/dhall_syntax/src/parser.rs +++ b/dhall_syntax/src/parser.rs @@ -328,7 +328,7 @@ macro_rules! make_parser { }); (@body, ($($things:tt)*), - token_rule!($name:ident<$o:ty>) + rule!($name:ident<$o:ty>) ) => ({ Ok(()) }); @@ -428,7 +428,7 @@ fn trim_indent(lines: &mut Vec) { } make_parser! { - token_rule!(EOI<()>); + rule!(EOI<()>); rule!(simple_label