mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
(narrow_stack): Do not call `scm_system_module_env_p'
when deprecated features are excluded from Guile.
This commit is contained in:
parent
de208a7462
commit
f366ed28ee
1 changed files with 4 additions and 1 deletions
|
@ -360,7 +360,10 @@ narrow_stack (SCM stack,int inner,SCM inner_key,int outer,SCM outer_key)
|
|||
SCM m = s->frames[i].source;
|
||||
if ( SCM_MEMOIZEDP (m)
|
||||
&& SCM_NIMP (SCM_MEMOIZED_ENV (m))
|
||||
&& SCM_FALSEP (scm_system_module_env_p (SCM_MEMOIZED_ENV (m))))
|
||||
#if SCM_DEBUG_DEPRECATED == 0
|
||||
&& SCM_FALSEP (scm_system_module_env_p (SCM_MEMOIZED_ENV (m)))
|
||||
#endif
|
||||
)
|
||||
{
|
||||
/* Back up in order to include any non-source frames */
|
||||
while (i > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue