- ::findOperator now only reports changes if the tag being added was not
  already there.
This commit is contained in:
Paul Beckingham
2014-11-09 11:15:20 -05:00
parent 9d0ae4f09d
commit 8f60a106f7

View File

@@ -1672,10 +1672,11 @@ void CLI::findOperators ()
for (a = _args.begin (); a != _args.end (); ++a)
if (a->hasTag ("FILTER"))
if (std::find (options.begin (), options.end (), a->attribute ("raw")) != options.end ())
{
a->tag ("OP");
changes = true;
}
if (! a->hasTag ("OP"))
{
a->tag ("OP");
changes = true;
}
if (changes &&
context.config.getInteger ("debug.parser") >= 3)