CmdCustom

- Captured args do not need additional tags.
This commit is contained in:
Paul Beckingham 2014-05-25 23:03:43 -04:00
parent 904c42fcbe
commit e5e0ac8ba3

View file

@ -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 ();