- Special handling for "project:<value>" where the partial match operator
  is used, instead of the usual exact match operator.
This commit is contained in:
Paul Beckingham 2014-05-26 21:06:45 -04:00
parent e88ccee1e6
commit 9106780260

View file

@ -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);
}