* Use SCM_CONSP, not SCM_ECONSP.
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Mon, 30 Jul 2001 18:25:14 +0000 (18:25 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Mon, 30 Jul 2001 18:25:14 +0000 (18:25 +0000)
libguile/ChangeLog
libguile/pairs.h

index 901e1b4..6cf02a0 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-30  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * pairs.h (SCM_VALIDATE_PAIR):  Use SCM_CONSP, not SCM_ECONSP.
+
 2001-07-29  Marius Vollmer  <mvo@zagadka.ping.de>
 
        Removed vcell slot from structs.
index 6b808f8..ff6bddc 100644 (file)
@@ -53,7 +53,7 @@
 #if (SCM_DEBUG_PAIR_ACCESSES == 1)
 # include "libguile/struct.h"
 # define SCM_VALIDATE_PAIR(cell, expr) \
-    ((!SCM_ECONSP (cell) ? scm_error_pair_access (cell), 0 : 0), (expr))
+    ((!SCM_CONSP (cell) ? scm_error_pair_access (cell), 0 : 0), (expr))
 #else
 # define SCM_VALIDATE_PAIR(cell, expr) (expr)
 #endif