CLI
- Added debug.parser=3 support to ::decomposeModTags.
This commit is contained in:
@@ -1751,6 +1751,7 @@ void CLI::decomposeModAttributeModifiers ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void CLI::decomposeModTags ()
|
void CLI::decomposeModTags ()
|
||||||
{
|
{
|
||||||
|
bool changes = false;
|
||||||
std::vector <A>::iterator a;
|
std::vector <A>::iterator a;
|
||||||
for (a = _args.begin (); a != _args.end (); ++a)
|
for (a = _args.begin (); a != _args.end (); ++a)
|
||||||
{
|
{
|
||||||
@@ -1771,9 +1772,14 @@ void CLI::decomposeModTags ()
|
|||||||
a->attribute ("name", tag);
|
a->attribute ("name", tag);
|
||||||
a->attribute ("sign", sign);
|
a->attribute ("sign", sign);
|
||||||
a->tag ("TAG");
|
a->tag ("TAG");
|
||||||
|
changes = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (changes &&
|
||||||
|
context.config.getInteger ("debug.parser") >= 3)
|
||||||
|
context.debug (context.cli.dump ("CLI::analyze decomposeModTags"));
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user