diff options
Diffstat (limited to 'src/parser.rs')
-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 251ec31..27396dc 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -270,7 +270,7 @@ impl Into<TimeType> for ExactDate { named!(date<Date>, do_parse!( exact:exact_date_parser >> - o: opt!(do_parse!(op:operator_parser >> a:amount_expr >> (op, a))) >> + o: opt!(do_parse!(sp >> op:operator_parser >> a:amount_expr >> (op, a))) >> (Date(exact, o)) )); |