1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

* eval.c: Don't #define scm_lookupcar to scm_lookupcar1. Instead

make sure that there always is a "real" scm_lookupcar.
This commit is contained in:
Mikael Djurfeldt 1998-11-01 04:40:33 +00:00
parent d1306c276b
commit d0b7bad785
2 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,8 @@
1998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
* eval.c: Don't #define scm_lookupcar to scm_lookupcar1. Instead
make sure that there always is a "real" scm_lookupcar.
1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
* read.c, read.h (history-length, history-file): New read options.

View file

@ -242,8 +242,13 @@ scm_ilookup (iloc, env)
#endif /* USE_THREADS */
#ifdef USE_THREADS
static SCM *
scm_lookupcar1 (SCM vloc, SCM genv)
#else
SCM *
scm_lookupcar (SCM vloc, SCM genv)
#endif
{
SCM env = genv;
register SCM *al, fl, var = SCM_CAR (vloc);
@ -371,8 +376,6 @@ scm_lookupcar (vloc, genv)
abort ();
return loc;
}
#else /* not USE_THREADS */
#define scm_lookupcar scm_lookupcar1
#endif
#define unmemocar scm_unmemocar