diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-28 06:05:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-28 06:05:39 -0700 |
commit | acfd125f2351a294f8872da5736169ea3c51786b (patch) | |
tree | 215aa945752633e5f08fa7c293c8f201b07ff308 /unwind.h | |
parent | e13399f6ca7ae0c59c1e176ff5e4c78d00f82c69 (diff) | |
download | txr-acfd125f2351a294f8872da5736169ea3c51786b.tar.gz txr-acfd125f2351a294f8872da5736169ea3c51786b.tar.bz2 txr-acfd125f2351a294f8872da5736169ea3c51786b.zip |
Context form error reporting in sys:capture-cont.
* unwind.c (sys_capture_cont_s): New variable.
(uw_capture_cont): Second argument is now a context
form rather than a symbol; eval_error is used for error
reporting. The form's operator symbol si used in the
error message, or else sys:capture-cont if the
context argument is null or missing.
(uw_late_init): Initialize sys_capture_cont_s.
* unwind.h (uw_capture_cont): Declaration updated.
* txr.1: Documented.
Diffstat (limited to 'unwind.h')
-rw-r--r-- | unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ uw_frame_t *uw_current_exit_point(void); val uw_get_frames(void); val uw_find_frame(val extype, val frtype); val uw_invoke_catch(val catch_frame, val sym, struct args *); -val uw_capture_cont(val tag, val ctx); +val uw_capture_cont(val tag, val ctx_form); void uw_init(void); void uw_late_init(void); |