mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CmdCustom
- Captured args do not need additional tags.
This commit is contained in:
parent
904c42fcbe
commit
e5e0ac8ba3
1 changed files with 1 additions and 5 deletions
|
@ -88,11 +88,7 @@ int CmdCustom::execute (std::string& output)
|
|||
Lexer::split (filterArgs, reportFilter);
|
||||
std::vector <std::string>::reverse_iterator arg;
|
||||
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
|
||||
{
|
||||
Tree* t = context.parser.captureFirst (*arg);
|
||||
t->tag ("CUSTOM");
|
||||
t->tag ("FILTER");
|
||||
}
|
||||
context.parser.captureFirst (*arg);
|
||||
|
||||
// Reparse after tree change.
|
||||
context.parser.parse ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue