mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI
- Added debug.parser=3 support to ::decomposeModTags.
This commit is contained in:
parent
5d662c0efa
commit
de6f97174e
1 changed files with 6 additions and 0 deletions
|
@ -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"));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue