summaryrefslogtreecommitdiffstats
path: root/unwind.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-10-28 06:05:39 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-10-28 06:05:39 -0700
commitacfd125f2351a294f8872da5736169ea3c51786b (patch)
tree215aa945752633e5f08fa7c293c8f201b07ff308 /unwind.h
parente13399f6ca7ae0c59c1e176ff5e4c78d00f82c69 (diff)
downloadtxr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unwind.h b/unwind.h
index b2242661..a9b456ae 100644
--- a/unwind.h
+++ b/unwind.h
@@ -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);