mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- Added debug.parser=3 support to ::decomposeModSubstitutions.
This commit is contained in:
parent
de6f97174e
commit
c01ee07981
1 changed files with 6 additions and 0 deletions
|
@ -1785,6 +1785,7 @@ void CLI::decomposeModTags ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void CLI::decomposeModSubstitutions ()
|
||||
{
|
||||
bool changes = false;
|
||||
std::vector <A>::iterator a;
|
||||
for (a = _args.begin (); a != _args.end (); ++a)
|
||||
{
|
||||
|
@ -1812,10 +1813,15 @@ void CLI::decomposeModSubstitutions ()
|
|||
a->attribute ("from", from);
|
||||
a->attribute ("to", to);
|
||||
a->attribute ("global", global ? 1 : 0);
|
||||
changes = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (changes &&
|
||||
context.config.getInteger ("debug.parser") >= 3)
|
||||
context.debug (context.cli.dump ("CLI::analyze decomposeModSubstitutions"));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue