mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-21 12:10:26 +02:00
* backtrace.c (scm_display_error): Bugfix: scm_procedure_p returns
a SCM boolean, not a C boolean.
This commit is contained in:
parent
22c7f3c838
commit
016e2ce1d0
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ scm_display_error (stack, port, subr, message, args, rest)
|
|||
if (!(SCM_NIMP (source) && SCM_MEMOIZEDP (source)))
|
||||
source = SCM_FRAME_SOURCE (SCM_FRAME_PREV (current_frame));
|
||||
if (SCM_FRAME_PROC_P (current_frame)
|
||||
&& scm_procedure_p (SCM_FRAME_PROC (current_frame)))
|
||||
&& scm_procedure_p (SCM_FRAME_PROC (current_frame)) == SCM_BOOL_T)
|
||||
pname = scm_procedure_name (SCM_FRAME_PROC (current_frame));
|
||||
}
|
||||
if (!(SCM_NIMP (pname) && SCM_ROSTRINGP (pname)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue