mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 02:47:20 +02:00
Parser
- ::findPlainArgs was only being run in debug mode. Not a good idea.
This commit is contained in:
parent
190b6fe635
commit
30fee92914
1 changed files with 16 additions and 19 deletions
|
@ -1352,8 +1352,6 @@ void Parser::findModifications ()
|
||||||
// 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.
|
||||||
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)
|
||||||
|
@ -1380,7 +1378,6 @@ void Parser::findPlainArgs ()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Parser::findMissingOperators ()
|
void Parser::findMissingOperators ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue