mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
* eval.c (scm_lookupcar): Test for !SCM_CONSP (SCM_CAR (env))
instead of SCM_TRUE (scm_procedurep (SCM_CAR (env))).
This commit is contained in:
parent
96372e45b8
commit
790071cdc8
1 changed files with 3 additions and 3 deletions
|
@ -273,7 +273,7 @@ scm_lookupcar (SCM vloc, SCM genv, int check)
|
|||
#endif
|
||||
for (; SCM_NIMP (env); env = SCM_CDR (env))
|
||||
{
|
||||
if (SCM_TRUE_P (scm_procedure_p (SCM_CAR (env))))
|
||||
if (!SCM_CONSP (SCM_CAR (env)))
|
||||
break;
|
||||
al = SCM_CARLOC (env);
|
||||
for (fl = SCM_CAR (*al); SCM_NIMP (fl); fl = SCM_CDR (fl))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue