diff options
author | Andy Wingo <wingo@pobox.com> | 2010-07-15 12:11:34 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-07-15 12:11:34 +0200 |
commit | 218d580ab46481f3a44ada1897bbe0ae8abf3e54 (patch) | |
tree | 3f0f3ea5ec1f51b3fbc030562eb12657b185e59b /libguile/backtrace.h | |
parent | f4b879e03bf217f4114b2997c0bdbe1008daf874 (diff) | |
download | guile-218d580ab46481f3a44ada1897bbe0ae8abf3e54.tar.gz |
display-error takes a frame, shows source if possible
* libguile/backtrace.h:
* libguile/backtrace.c (scm_display_error): Change "stack" arg to
"frame". Still accept stacks for backward compatibility.
(display_header, display_error_body): Show the source of the error, if
possible.
Diffstat (limited to 'libguile/backtrace.h')
-rw-r--r-- | libguile/backtrace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/backtrace.h b/libguile/backtrace.h index 22d2d0385..a8c6cc5d6 100644 --- a/libguile/backtrace.h +++ b/libguile/backtrace.h @@ -28,7 +28,7 @@ SCM_API void scm_display_error_message (SCM message, SCM args, SCM port); SCM_INTERNAL void scm_i_display_error (SCM stack, SCM port, SCM subr, SCM message, SCM args, SCM rest); -SCM_API SCM scm_display_error (SCM stack, SCM port, SCM subr, SCM message, SCM args, SCM rest); +SCM_API SCM scm_display_error (SCM frame, SCM port, SCM subr, SCM message, SCM args, SCM rest); SCM_API SCM scm_display_application (SCM frame, SCM port, SCM indent); SCM_API SCM scm_display_backtrace (SCM stack, SCM port, SCM first, SCM depth); SCM_API SCM scm_display_backtrace_with_highlights (SCM stack, SCM port, SCM first, SCM depth, SCM highlights); |