- Modified ':' to perform partial matches, which means dates now match
  on same day.
This commit is contained in:
Paul Beckingham 2014-10-01 18:31:50 -04:00
parent 47cfe515e6
commit 5c485f6c53
3 changed files with 9 additions and 7 deletions

View file

@ -978,15 +978,11 @@ void Parser::findAttribute ()
Tree* branch = (*i)->addBranch (new Tree ("argAtt"));
branch->attribute ("raw", canonical);
// The 'name:value' maps to 'name = value', the partial match
// operator.
branch = (*i)->addBranch (new Tree ("argAtt"));
branch->tag ("OP");
// All 'project' attributes are partial matches.
if (canonical == "project" ||
canonical == "uuid")
branch->attribute ("raw", "=");
else
branch->attribute ("raw", "==");
branch->attribute ("raw", "=");
branch = (*i)->addBranch (new Tree ("argAtt"));
branch->attribute ("raw", value);