CLI
- When unsweetening tags, preserve the FILTER tag.
This commit is contained in:
@@ -526,14 +526,17 @@ void CLI::unsweetenTags ()
|
||||
{
|
||||
A left ("argTag", "tags");
|
||||
left.tag ("ATT");
|
||||
left.tag ("FILTER");
|
||||
reconstructed.push_back (left);
|
||||
|
||||
A op ("argTag", sign == "+" ? "_hastag_" : "_notag_");
|
||||
op.tag ("OP");
|
||||
op.tag ("FILTER");
|
||||
reconstructed.push_back (op);
|
||||
|
||||
A right ("argTag", tag);
|
||||
right.tag ("LITERAL");
|
||||
right.tag ("FILTER");
|
||||
reconstructed.push_back (right);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user