diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-02-24 21:40:54 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-02-24 21:40:54 -0800 |
commit | a61708f6ca5df1dd17a6bad6a72003b08474ed6e (patch) | |
tree | 7f1727ca1f950b3ce0d0b7acdc9d430b698e8f62 /debug.c | |
parent | 15c42fa37fced6cb65b09dce07d59fc729748018 (diff) | |
download | txr-a61708f6ca5df1dd17a6bad6a72003b08474ed6e.tar.gz txr-a61708f6ca5df1dd17a6bad6a72003b08474ed6e.tar.bz2 txr-a61708f6ca5df1dd17a6bad6a72003b08474ed6e.zip |
* debug.c (debug): Fix 2013-12-02 regression, which leaves the
debugger not printing the current line of data.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -92,7 +92,10 @@ val debug(val form, val bindings, val data, val line, val pos, val base) val loc = source_loc(form); cons_bind (lineno, file, loc); - data = if2(consp(data), car(data)); + if (consp(data)) + data = car(data); + else if (data == t) + data = nil; if (!step_mode && !memqual(loc, breakpoints) && (debug_depth > next_depth)) |