- Added CLI::dump.
This commit is contained in:
Paul Beckingham
2014-10-25 14:35:00 -04:00
parent 12941488ce
commit 0c4b447c77

View File

@@ -1907,9 +1907,13 @@ float Task::urgency_blocking () const
void Task::modify (modType type, bool text_required /* = false */)
{
std::string text = "";
Tree* tree = context.parser.tree ();
if (tree)
if (context.config.getInteger ("debug.parser") >= 1)
{
context.debug (context.cli.dump ());
context.debug (tree->dump ());
}
context.debug ("Task::modify");
std::string label = " MODIFICATION ";