diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-15 06:48:11 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-15 06:48:11 -0700 |
commit | 3442f8621d0a1a2e581dfbbe1aa72f8bb4ee03ca (patch) | |
tree | 19c02de1d17eb709ec77b8458c7c679fc705b562 /debug.c | |
parent | 6fe8c83faa4e97aee190049b175e1b6b2e25aa97 (diff) | |
download | txr-3442f8621d0a1a2e581dfbbe1aa72f8bb4ee03ca.tar.gz txr-3442f8621d0a1a2e581dfbbe1aa72f8bb4ee03ca.tar.bz2 txr-3442f8621d0a1a2e581dfbbe1aa72f8bb4ee03ca.zip |
key function argument on remq, remql and remqual.
* eval.c (weave_while): Pass third arg to remq as nil.
(eval_init): Update registrations of remq, remql and
remqual.
* lib.c (remq, remql, remqual): Implement key function
argument.
* lib.h (remq, remql, remqual): Declarations updated.
* sysif.c (at_exit_call): Pass third arg to remq as nil.
* debug.c (debug): Pass third argument to remqual as nil.
* txr.1: Documentation updated.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -202,11 +202,11 @@ val debug(val ctx, val bindings, val data, val line, val pos, val base) } if (equal(command, lit("b"))) { - breakpoints = remqual(l, breakpoints); + breakpoints = remqual(l, breakpoints, nil); push(l, &breakpoints); } else if (equal(command, lit("d"))) { val breakpoints_old = breakpoints; - breakpoints = remqual(l, breakpoints); + breakpoints = remqual(l, breakpoints, nil); if (breakpoints == breakpoints_old) format(std_debug, lit("no such breakpoint\n")); } else { |