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:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user