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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user