diff options
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 16973e8..66900a4 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -108,7 +108,7 @@ named!(amount_parser<Amount>, do_parse!( #[derive(Debug, PartialEq, Eq)] pub struct Amount(i64, Unit); -named!(iter_spec<Iterspec>, alt!( +named!(iter_spec<Iterspec>, alt_complete!( tag!("secondly") => { |_| Iterspec::Secondly } | tag!("minutely") => { |_| Iterspec::Minutely } | tag!("hourly") => { |_| Iterspec::Hourly } | |