summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;