Parser
- ::findPlainArgs was only being run in debug mode. Not a good idea.
This commit is contained in:
@@ -1353,8 +1353,6 @@ void Parser::findModifications ()
|
|||||||
// are not otherwise recognized, and potentially promote them to patterns.
|
// are not otherwise recognized, and potentially promote them to patterns.
|
||||||
void Parser::findPlainArgs ()
|
void Parser::findPlainArgs ()
|
||||||
{
|
{
|
||||||
if (context.config.getBoolean ("debug"))
|
|
||||||
{
|
|
||||||
std::vector <Tree*>::iterator i;
|
std::vector <Tree*>::iterator i;
|
||||||
for (i = _tree->_branches.begin (); i != _tree->_branches.end (); ++i)
|
for (i = _tree->_branches.begin (); i != _tree->_branches.end (); ++i)
|
||||||
{
|
{
|
||||||
@@ -1379,7 +1377,6 @@ void Parser::findPlainArgs ()
|
|||||||
branch->tag ("STRING");
|
branch->tag ("STRING");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user