X-Git-Url: http://git.hcoop.net/bpt/guile.git/blobdiff_plain/70877549f4183d722cc624a2b9db760c071ae3ab..cda139a7912f2a2d3ca9bab52bf16d41ce4d643f:/libguile/eq.c diff --git a/libguile/eq.c b/libguile/eq.c index d5ef0241e..a0563c08d 100644 --- a/libguile/eq.c +++ b/libguile/eq.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1995,1996 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1997 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -12,7 +12,8 @@ * * You should have received a copy of the GNU General Public License * along with this software; see the file COPYING. If not, write to - * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA * * As a special exception, the Free Software Foundation gives permission * for additional uses of the text contained in its release of GUILE. @@ -36,8 +37,7 @@ * * If you write modifications of your own for GUILE, it is your choice * whether to permit this exception to apply to your modifications. - * If you do not wish that, delete this exception notice. - */ + * If you do not wish that, delete this exception notice. */ #include #include "_scm.h" @@ -96,7 +96,7 @@ scm_equal_p (x, y) SCM y; { SCM_CHECK_STACK; - tailrecurse: SCM_ASYNC_TICK; + tailrecurse: SCM_TICK; if (x==y) return SCM_BOOL_T; if (SCM_IMP(x)) return SCM_BOOL_F; if (SCM_IMP(y)) return SCM_BOOL_F; @@ -106,8 +106,8 @@ scm_equal_p (x, y) y = SCM_CDR(y); goto tailrecurse; } - if (SCM_TYP7SD (x) == scm_tc7_string - && SCM (TYP7SD (x) == scm_tc7_string)) + if (SCM_TYP7S (x) == scm_tc7_string + && SCM_TYP7S (y) == scm_tc7_string) return scm_string_equal_p (x, y); /* This ensures that types and scm_length are the same. */ if (SCM_CAR(x) != SCM_CAR(y)) return SCM_BOOL_F;