mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Commented out implementation of ::desugarFilterPlainArgs
- The algorithm is wrong, and it misidentfies solitary search patterns.
This commit is contained in:
parent
9dcd52fc5b
commit
88b1707b58
1 changed files with 5 additions and 1 deletions
|
@ -528,7 +528,7 @@ void CLI2::prepareFilter (bool applyContext)
|
|||
findIDs ();
|
||||
findUUIDs ();
|
||||
insertIDExpr ();
|
||||
desugarFilterPlainArgs ();
|
||||
desugarFilterPlainArgs (); // Unimplemented.
|
||||
findStrayModifications ();
|
||||
desugarFilterTags ();
|
||||
desugarFilterAttributes ();
|
||||
|
@ -1403,8 +1403,11 @@ void CLI2::insertIDExpr ()
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// TODO Removed because this algorithm is unreliable.
|
||||
|
||||
void CLI2::desugarFilterPlainArgs ()
|
||||
{
|
||||
/*
|
||||
bool changes = false;
|
||||
std::vector <A2> reconstructed;
|
||||
auto prev = &_args[0];
|
||||
|
@ -1448,6 +1451,7 @@ void CLI2::desugarFilterPlainArgs ()
|
|||
if (context.config.getInteger ("debug.parser") >= 3)
|
||||
context.debug (dump ("CLI2::prepareFilter desugarFilterPlainArgs"));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue