Command
- Added a debug mode parse tree dump in Command::filter, which is the first opportunity to see the complete tree. There will be other places where this occurs too.
This commit is contained in:
@@ -292,6 +292,13 @@ void Command::filter (const std::vector <Task>& input, std::vector <Task>& outpu
|
||||
A3 filt = context.a3.extract_filter ();
|
||||
filt.dump ("extract_filter");
|
||||
|
||||
if (context.config.getBoolean ("debug"))
|
||||
{
|
||||
Tree* t = context.a3t.tree ();
|
||||
if (t)
|
||||
context.debug (t->dump ());
|
||||
}
|
||||
|
||||
if (filt.size ())
|
||||
{
|
||||
E9 e (filt);
|
||||
@@ -315,6 +322,13 @@ void Command::filter (std::vector <Task>& output)
|
||||
A3 filt = context.a3.extract_filter ();
|
||||
filt.dump ("extract_filter");
|
||||
|
||||
if (context.config.getBoolean ("debug"))
|
||||
{
|
||||
Tree* t = context.a3t.tree ();
|
||||
if (t)
|
||||
context.debug (t->dump ());
|
||||
}
|
||||
|
||||
if (filt.size ())
|
||||
{
|
||||
context.timer_filter.stop ();
|
||||
|
||||
Reference in New Issue
Block a user