mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- When unsweetening tags, preserve the FILTER tag.
This commit is contained in:
parent
8dd9082697
commit
ae4272f477
1 changed files with 3 additions and 0 deletions
|
@ -526,14 +526,17 @@ void CLI::unsweetenTags ()
|
||||||
{
|
{
|
||||||
A left ("argTag", "tags");
|
A left ("argTag", "tags");
|
||||||
left.tag ("ATT");
|
left.tag ("ATT");
|
||||||
|
left.tag ("FILTER");
|
||||||
reconstructed.push_back (left);
|
reconstructed.push_back (left);
|
||||||
|
|
||||||
A op ("argTag", sign == "+" ? "_hastag_" : "_notag_");
|
A op ("argTag", sign == "+" ? "_hastag_" : "_notag_");
|
||||||
op.tag ("OP");
|
op.tag ("OP");
|
||||||
|
op.tag ("FILTER");
|
||||||
reconstructed.push_back (op);
|
reconstructed.push_back (op);
|
||||||
|
|
||||||
A right ("argTag", tag);
|
A right ("argTag", tag);
|
||||||
right.tag ("LITERAL");
|
right.tag ("LITERAL");
|
||||||
|
right.tag ("FILTER");
|
||||||
reconstructed.push_back (right);
|
reconstructed.push_back (right);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue