mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- Special handling for "project:<value>" where the partial match operator is used, instead of the usual exact match operator.
This commit is contained in:
parent
e88ccee1e6
commit
9106780260
1 changed files with 6 additions and 1 deletions
|
@ -810,9 +810,14 @@ void Parser::findAttribute ()
|
|||
branch->attribute ("raw", canonical);
|
||||
|
||||
branch = (*i)->addBranch (new Tree ("argAtt"));
|
||||
branch->attribute ("raw", "==");
|
||||
branch->tag ("OP");
|
||||
|
||||
// All 'project' attributes are partial matches.
|
||||
if (canonical == "project")
|
||||
branch->attribute ("raw", "=");
|
||||
else
|
||||
branch->attribute ("raw", "==");
|
||||
|
||||
branch = (*i)->addBranch (new Tree ("argAtt"));
|
||||
branch->attribute ("raw", value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue