CLI
- ::findOperator now only reports changes if the tag being added was not already there.
This commit is contained in:
@@ -1672,10 +1672,11 @@ void CLI::findOperators ()
|
|||||||
for (a = _args.begin (); a != _args.end (); ++a)
|
for (a = _args.begin (); a != _args.end (); ++a)
|
||||||
if (a->hasTag ("FILTER"))
|
if (a->hasTag ("FILTER"))
|
||||||
if (std::find (options.begin (), options.end (), a->attribute ("raw")) != options.end ())
|
if (std::find (options.begin (), options.end (), a->attribute ("raw")) != options.end ())
|
||||||
{
|
if (! a->hasTag ("OP"))
|
||||||
a->tag ("OP");
|
{
|
||||||
changes = true;
|
a->tag ("OP");
|
||||||
}
|
changes = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (changes &&
|
if (changes &&
|
||||||
context.config.getInteger ("debug.parser") >= 3)
|
context.config.getInteger ("debug.parser") >= 3)
|
||||||
|
|||||||
Reference in New Issue
Block a user