summaryrefslogtreecommitdiffstats
path: root/txr.h
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.h
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.h')
-rw-r--r--txr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/txr.h b/txr.h
index 0fe34df4..6d9d82ce 100644
--- a/txr.h
+++ b/txr.h
@@ -37,6 +37,7 @@ extern int opt_noninteractive;
extern int opt_compat;
extern int opt_debugger;
extern int opt_dbg_autoload;
+extern int opt_dbg_expansion;
extern alloc_bytes_t opt_gc_delta;
extern const wchli_t *version;
extern const wchar_t *progname;