summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parser.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser.rs b/src/parser.rs
index 04e58e8..7a2e7a1 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -325,14 +325,14 @@ impl Into<timetype::TimeType> for TimeType {
}
}
-named!(until_spec<UntilSpec>, alt!(
+named!(until_spec<UntilSpec>, alt_complete!(
do_parse!(
- tag!("until") >>
+ tag!("until") >> sp >>
exact: exact_date_parser >>
(UntilSpec::Exact(exact))
) |
do_parse!(
- num: integer >>
+ num: integer >> sp >>
tag!("times") >>
(UntilSpec::Times(num))
)