mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Debug: Display the final parse tree for rc.debug.parser=1.
This commit is contained in:
parent
26f9e066e7
commit
ebecaf420e
1 changed files with 7 additions and 0 deletions
|
@ -459,6 +459,13 @@ int Context::dispatch (std::string &out)
|
|||
cli2.prepareFilter ();
|
||||
}
|
||||
|
||||
// With rc.debug.parser == 3, there are more tree dumps than you might want,
|
||||
// but we need the rc.debug.parser == 1 case covered also, with the final
|
||||
// tree.
|
||||
if (config.getBoolean ("debug") &&
|
||||
config.getInteger ("debug.parser") == 1)
|
||||
debug (cli2.dump ("Parse Tree"));
|
||||
|
||||
return c->execute (out);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue