mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI
- Added debug.parser=3 support to ::decomposeModAttributeModifiers.
This commit is contained in:
parent
caa4e0d6b9
commit
5d662c0efa
1 changed files with 8 additions and 0 deletions
|
@ -1665,6 +1665,7 @@ void CLI::decomposeModAttributes ()
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
void CLI::decomposeModAttributeModifiers ()
|
||||
{
|
||||
bool changes = false;
|
||||
std::vector <A>::iterator a;
|
||||
for (a = _args.begin (); a != _args.end (); ++a)
|
||||
{
|
||||
|
@ -1713,6 +1714,7 @@ void CLI::decomposeModAttributeModifiers ()
|
|||
a->attribute ("value", value);
|
||||
a->tag ("UDA");
|
||||
a->tag ("MODIFIABLE");
|
||||
changes = true;
|
||||
}
|
||||
|
||||
else if (canonicalize (canonical, "attribute", name))
|
||||
|
@ -1730,6 +1732,8 @@ void CLI::decomposeModAttributeModifiers ()
|
|||
{
|
||||
a->tag ("MODIFIABLE");
|
||||
}
|
||||
|
||||
changes = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1738,6 +1742,10 @@ void CLI::decomposeModAttributeModifiers ()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (changes &&
|
||||
context.config.getInteger ("debug.parser") >= 3)
|
||||
context.debug (context.cli.dump ("CLI::analyze decomposeModAttributeModifiers"));
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue