mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
Merge from mvo-vcell-cleanup-1-branch.
This commit is contained in:
parent
7c33806ae6
commit
86d31dfe7d
54 changed files with 1538 additions and 1293 deletions
|
@ -221,9 +221,9 @@ read_frame (scm_debug_frame *dframe,long offset,scm_info_frame *iframe)
|
|||
static SCM
|
||||
get_applybody ()
|
||||
{
|
||||
SCM cell = scm_sym2vcell (scm_sym_apply, SCM_BOOL_F, SCM_BOOL_F);
|
||||
if (SCM_CONSP (cell) && SCM_CLOSUREP (SCM_CDR (cell)))
|
||||
return SCM_CADR (SCM_CODE (SCM_CDR (cell)));
|
||||
SCM var = scm_sym2var (scm_sym_apply, SCM_BOOL_F, SCM_BOOL_F);
|
||||
if (SCM_VARIABLEP (var) && SCM_CLOSUREP (SCM_VARIABLE_REF (var)))
|
||||
return SCM_CADR (SCM_CODE (SCM_VARIABLE_REF (var)));
|
||||
else
|
||||
return SCM_UNDEFINED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue