From 6324e3b63af0ddd53c8d79c431761af217faa65d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 31 Oct 2014 22:59:32 -0400 Subject: [PATCH] CmdCustom - Removed Parser details. --- src/commands/CmdCustom.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/commands/CmdCustom.cpp b/src/commands/CmdCustom.cpp index f0beabfd6..371030fdb 100644 --- a/src/commands/CmdCustom.cpp +++ b/src/commands/CmdCustom.cpp @@ -86,19 +86,10 @@ int CmdCustom::execute (std::string& output) Lexer::Type type; Lexer lex (reportFilter); lex.ambiguity (false); - std::vector filterArgs; while (lex.token (lexeme, type)) - { - filterArgs.push_back (lexeme); context.cli.add (lexeme); - } - - std::vector ::reverse_iterator arg; - for (arg = filterArgs.rbegin (); arg != filterArgs.rend (); ++ arg) - context.parser.captureFirst (*arg); // Reparse after tree change. - context.parser.parse (); context.cli.analyze (); // Apply filter.