mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
Eval
- Added the new Variant::operator_hastag and Variant::operator_notag operators to the expression evaluator. All operators now implemented, at least in stubbed form.
This commit is contained in:
parent
ae356a1d32
commit
e88ccee1e6
1 changed files with 22 additions and 20 deletions
|
@ -287,6 +287,8 @@ void Eval::evaluatePostfixStack (
|
|||
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 == "_hastag_") left = left.operator_hastag (right);
|
||||
else if (token->first == "_notag_") left = left.operator_notag (right);
|
||||
else
|
||||
std::cout << "# Unrecognized operator '" << token->first << "'\n";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue