mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Parser
- Code cleanup of ::findTerminator.
This commit is contained in:
parent
0a4dcc1a21
commit
ce914a31f9
1 changed files with 0 additions and 4 deletions
|
@ -355,7 +355,6 @@ void Parser::findBinary ()
|
||||||
// all args in the raw state.
|
// all args in the raw state.
|
||||||
void Parser::findTerminator ()
|
void Parser::findTerminator ()
|
||||||
{
|
{
|
||||||
context.debug ("Parser::findTerminator");
|
|
||||||
bool found = false;
|
bool found = false;
|
||||||
std::vector <Tree*> prune;
|
std::vector <Tree*> prune;
|
||||||
|
|
||||||
|
@ -387,9 +386,6 @@ void Parser::findTerminator ()
|
||||||
// Prune branches outside the loop.
|
// Prune branches outside the loop.
|
||||||
for (i = prune.begin (); i != prune.end (); ++i)
|
for (i = prune.begin (); i != prune.end (); ++i)
|
||||||
(*i)->removeAllBranches ();
|
(*i)->removeAllBranches ();
|
||||||
|
|
||||||
if (prune.size ())
|
|
||||||
context.debug (_tree->dump ());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue