CmdCustom

- Eliminated A3.
This commit is contained in:
Paul Beckingham 2014-05-25 14:38:51 -04:00
parent 7688bdc6c4
commit fa02eb4ed2

View file

@ -89,17 +89,13 @@ int CmdCustom::execute (std::string& output)
std::vector <std::string>::reverse_iterator arg;
for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg)
{
// TODO Obsolete, but for now prevents 'operator mismatch' errors.
context.a3.capture_first (*arg);
Tree* t = context.parser.captureFirst (*arg);
t->tag ("CUSTOM");
t->tag ("FILTER");
}
// TODO Obsolete, but for now prevents 'operator mismatch' errors..
// Reparse after tree change.
context.parser.parse ();
context.a3.categorize ();
// Apply filter.
handleRecurrence ();