summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-18 06:46:31 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-18 06:46:31 -0800
commit9e7cb4f19473571d76bf4b7b5ddc772ef8375a4e (patch)
tree50c4c631fcfbf1e7254e027e131e160bb219ec11 /txr.1
parenta574f6c3f0d30b59cd0a0778e4e83e9cb0b4c724 (diff)
downloadtxr-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.18
1 files changed, 7 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 0fd199c8..1c8f20c3 100644
--- a/txr.1
+++ b/txr.1
@@ -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.