diff --git a/src/Parser.cpp b/src/Parser.cpp index 03ab8d20c..eeb93862a 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -714,27 +714,6 @@ const std::string Parser::getFilterExpression () return sequence; } -//////////////////////////////////////////////////////////////////////////////// -const std::vector Parser::getWords () const -{ - std::vector words; - std::vector nodes; - collect (nodes, collectAll); - std::vector ::iterator i; - for (i = nodes.begin (); i != nodes.end (); ++i) - { - if (! (*i)->hasTag ("BINARY") && - ! (*i)->hasTag ("RC") && - ! (*i)->hasTag ("CONFIG") && - ! (*i)->hasTag ("CMD") && - ! (*i)->hasTag ("TERMINATOR") && - (*i)->hasTag ("ORIGINAL")) - words.push_back ((*i)->attribute ("raw")); - } - - return words; -} - //////////////////////////////////////////////////////////////////////////////// std::string Parser::getLimit () const { diff --git a/src/Parser.h b/src/Parser.h index 9573e15af..eb69acd01 100644 --- a/src/Parser.h +++ b/src/Parser.h @@ -67,7 +67,6 @@ public: Tree* captureLast (const std::string&); const std::string getFilterExpression (); - const std::vector getWords () const; std::string getLimit () const; std::string getCommand () const;