Lexer: Fix "task calc now+3days" error

- Fix isDuration() consuming operators, leading to evaluation errors.
  Previously only "task calc now + 3days" worked, now the spaces are
  entirely optional.
This commit is contained in:
Wilhelm Schuermann 2015-04-02 10:12:41 +02:00
parent 5487414003
commit 2eea7805c6
2 changed files with 12 additions and 2 deletions

View file

@ -16,6 +16,7 @@
amount of changes that is considered dangerous (thanks to Tomas Babej).
- Disable hooks in bash completion script. Hooks were previously able to
abort processing or output interfering data, breaking completion.
- Fix "task add due:tomorrow+3days" failing to work without spaces.
------ current release ---------------------------