mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- Code cleanup.
This commit is contained in:
parent
03a3b41254
commit
0e0c4fa578
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue