Expressions
- Many operators implemented - DOM::get partially implemented
This commit is contained in:
@@ -92,7 +92,7 @@ int CmdCustom::execute (std::string& output)
|
||||
context.tdb.commit ();
|
||||
context.tdb.unlock ();
|
||||
|
||||
////////////////////////////////////
|
||||
// Filter.
|
||||
Arguments f = context.args.extract_read_only_filter ();
|
||||
Expression e (f);
|
||||
|
||||
@@ -102,12 +102,6 @@ int CmdCustom::execute (std::string& output)
|
||||
if (e.eval (*task))
|
||||
filtered.push_back (*task);
|
||||
|
||||
std::cout << "# tasks=" << tasks.size () << "\n"
|
||||
<< "# filtered=" << filtered.size () << "\n";
|
||||
//return 0;
|
||||
|
||||
////////////////////////////////////
|
||||
|
||||
// Sort the tasks.
|
||||
std::vector <int> sequence;
|
||||
for (unsigned int i = 0; i < filtered.size (); ++i)
|
||||
|
||||
Reference in New Issue
Block a user