- ::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,6 +1672,7 @@ 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"); a->tag ("OP");
changes = true; changes = true;