- ::operator_match and ::operator_nomatch now take a 'const Task&' argument to
  use for description/annotation matching.
- Updated unit tests.
This commit is contained in:
Paul Beckingham
2014-06-03 01:27:02 -04:00
parent ca6940ba2e
commit 512fe2f6c7
5 changed files with 149 additions and 128 deletions

View File

@@ -287,8 +287,8 @@ void Eval::evaluatePostfixStack (
else if (token->first == "^") left ^= right;
else if (token->first == "%") left %= right;
else if (token->first == "xor") left = left.operator_xor (right);
else if (token->first == "~") left = left.operator_match (right);
else if (token->first == "!~") left = left.operator_nomatch (right);
else if (token->first == "~") left = left.operator_match (right, contextTask);
else if (token->first == "!~") left = left.operator_nomatch (right, contextTask);
else if (token->first == "_hastag_") left = left.operator_hastag (right, contextTask);
else if (token->first == "_notag_") left = left.operator_notag (right, contextTask);
else