mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-25 21:27:19 +02:00
Expressions
- Commented out troublesome "distance_from_command" code. - Commented out DOM diagnostics, for now. - Commented out TDB2 diagnostics, for now. - Category "seq" arguments are now assigned type "exp". - All type "exp" arguments are now tokenized.
This commit is contained in:
parent
f0a9796683
commit
137b00a14a
5 changed files with 63 additions and 69 deletions
|
@ -263,6 +263,7 @@ bool Command::displays_id () const
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Filter a specific list of tasks.
|
||||
void Command::filter (std::vector <Task>& input, std::vector <Task>& output)
|
||||
{
|
||||
Timer timer ("Command::filter");
|
||||
|
@ -287,6 +288,7 @@ void Command::filter (std::vector <Task>& input, std::vector <Task>& output)
|
|||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Filter all tasks.
|
||||
void Command::filter (std::vector <Task>& output)
|
||||
{
|
||||
Timer timer ("Command::filter");
|
||||
|
@ -300,7 +302,6 @@ void Command::filter (std::vector <Task>& output)
|
|||
if (f.size ())
|
||||
{
|
||||
const std::vector <Task>& pending = context.tdb2.pending.get_tasks ();
|
||||
|
||||
Expression e (f);
|
||||
|
||||
output.clear ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue