CLI
- ::findOperator now only reports changes if the tag being added was not already there.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user