jnthn / grammar-debugger

Grammar::Debugger and Grammer::Tracer Perl 6 modules
36 stars 20 forks source link

Fix indentation level not being reset between parses when exceptions are thrown #38

Closed ethus3h closed 7 years ago

ethus3h commented 7 years ago

The parse output can sometimes start with a line like | | | | | | | | | | | | | | | | | | TOP when there have been some exceptions thrown during indented parse levels before the current parse. This patch makes the indentation go back to normal.

jnthn commented 7 years ago

Nice; thanks!

ethus3h commented 7 years ago

No problem, thank you!