- Code cleanup.
This commit is contained in:
Paul Beckingham 2014-10-11 11:24:56 -04:00
parent 03a3b41254
commit 0e0c4fa578

View file

@ -1624,10 +1624,10 @@ void Parser::findStrayModifications ()
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// This is called after parsing. The intention is to find plain arguments that // This is called after parsing. The intention is to find plain arguments that
// are not otherwise recognized, and potentially promote them to patterns. // are not otherwise recognized, and potentially promote them to patterns.
//
// Note: This functionality is deprecated in 2.4.0.
void Parser::findPlainArgs () void Parser::findPlainArgs ()
{ {
bool action = false;
std::vector <Tree*> nodes; std::vector <Tree*> nodes;
collect (nodes, collectTerminated); collect (nodes, collectTerminated);
std::vector <Tree*>::iterator i; std::vector <Tree*>::iterator i;
@ -1664,7 +1664,6 @@ void Parser::findPlainArgs ()
branch->attribute ("raw", raw); branch->attribute ("raw", raw);
branch->tag ("STRING"); branch->tag ("STRING");
branch->tag ("FILTER"); branch->tag ("FILTER");
action = true;
} }
} }
} }