From e5e0ac8ba3f5f4ed6ebc9699ef5bdcafbaad3853 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 25 May 2014 23:03:43 -0400 Subject: [PATCH] CmdCustom - Captured args do not need additional tags. --- src/commands/CmdCustom.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/commands/CmdCustom.cpp b/src/commands/CmdCustom.cpp index 4fe3e16d5..b7a54353b 100644 --- a/src/commands/CmdCustom.cpp +++ b/src/commands/CmdCustom.cpp @@ -88,11 +88,7 @@ int CmdCustom::execute (std::string& output) Lexer::split (filterArgs, reportFilter); std::vector ::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 ();