diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-11-11 02:34:45 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-11-11 02:36:59 +0100 |
commit | 26329eaf112690048e6bfb94f1e4e9d4056e09aa (patch) | |
tree | 266cb715f6b098ec55f480c0e72b61910f2a16b8 | |
parent | e5ed730a4aa0413f05c9c0d0a6a1d903ba3b31dd (diff) |
Fix: There must we whitespace!
-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)) )); |