diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 06:46:31 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-18 06:46:31 -0800 |
commit | 9e7cb4f19473571d76bf4b7b5ddc772ef8375a4e (patch) | |
tree | 50c4c631fcfbf1e7254e027e131e160bb219ec11 /txr.1 | |
parent | a574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724 (diff) | |
download | txr-9e7cb4f19473571d76bf4b7b5ddc772ef8375a4e.tar.gz txr-9e7cb4f19473571d76bf4b7b5ddc772ef8375a4e.tar.bz2 txr-9e7cb4f19473571d76bf4b7b5ddc772ef8375a4e.zip |
New --debug-expansion option.
* txr.c (opt_dbg_expansion): New global variable.
(help): Print summary for --debug-expansion.
(txr_main): Recognize new option and set flag.
* parser.y (parse_once): Suppress debug stepping around parser
if opt_dbg_expansion is false.
* txr.1 (opt_dbg_expansion): Declared.
* txr.1: Documented new option.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -687,10 +687,16 @@ function for a description. .meIP --debug-autoload This option turns on debugging, like .code --debugger -but also arranges for stepping into the auto-load processing of +but also requests stepping into the auto-load processing of \*(TL library code. Normally, debugging through the evaluations triggered by auto-loading is suppressed. +.meIP --debug-expansion +This option turns on debugging, like +.code --debugger +but also requests stepping into the parse-time macro-expansion +of \*(TL code embedded in \*(TX queries. Normally, this is suppressed. + .coIP --help Prints usage summary on standard output, and terminates successfully. |