documentation/manual/directives/debug.yo
raw| 1 | Syntax: bf(%debug) |
| 2 | |
| 3 | Provide tt(parse) and its support functions with debugging code, |
| 4 | showing the actual parsing process on the standard output |
| 5 | stream. |
| 6 | |
| 7 | When specified, debug output is shown by default, but its activity may be |
| 8 | controlled using the tt(setDebug(bool on-off)) or tt(setDebug(DebugMode_)) |
| 9 | members. Note that no tt(#ifdef DEBUG) macros are used anymore. Rerun b() |
| 10 | without the bf(--debug) option to generate an equivalent parser not containing |
| 11 | the debugging code. |