summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-06 22:05:14 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-06 22:05:14 -0700
commitf93b24ace00a1800dd9540fa5268ce1c3bb6e61d (patch)
treef587dcc8fc79c1a18eca7462e3041b50d2cd787e
parent7c7d97f53e421e81e631c120559d0f6f11abc060 (diff)
downloadtxr-f93b24ace00a1800dd9540fa5268ce1c3bb6e61d.tar.gz
txr-f93b24ace00a1800dd9540fa5268ce1c3bb6e61d.tar.bz2
txr-f93b24ace00a1800dd9540fa5268ce1c3bb6e61d.zip
* txr.c (txr_main): Bugfix: debugger long option nonfunctional.
-rw-r--r--ChangeLog4
-rw-r--r--txr.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bac16d4..8caefa5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2015-08-06 Kaz Kylheku <kaz@kylheku.com>
+ * txr.c (txr_main): Bugfix: debugger long option nonfunctional.
+
+2015-08-06 Kaz Kylheku <kaz@kylheku.com>
+
Better diagnosis for loose @ forms.
* eval.c (op_meta_error): New static function.
diff --git a/txr.c b/txr.c
index 79ae888e..e784c224 100644
--- a/txr.c
+++ b/txr.c
@@ -495,7 +495,7 @@ int txr_main(int argc, char **argv)
} else if (equal(opt, lit("lisp"))) {
txr_lisp_p = t;
continue;
- } else if (equal(arg, lit("debugger"))) {
+ } else if (equal(opt, lit("debugger"))) {
#if CONFIG_DEBUG_SUPPORT
opt_debugger = 1;
continue;