- Added debug.parser=3 support to ::decomposeModTags.
This commit is contained in:
Paul Beckingham 2014-10-31 20:04:40 -04:00
parent 5d662c0efa
commit de6f97174e

View file

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