+2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
+
+ * unif.c (scm_array_set_x): The variable args does not
+ necessarily have to be a list. Further, got rid of a redundant
+ SCM_NIMP test.
+
2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
* list.c (SCM_I_CONS): Make sure the cell type is initialized
{
long pos = 0;
- SCM_VALIDATE_REST_ARGUMENT (args);
SCM_ASRTGO (SCM_NIMP (v), badarg1);
if (SCM_ARRAYP (v))
{
else
{
unsigned long int length;
- if (SCM_NIMP (args))
+ if (SCM_CONSP (args))
{
- SCM_ASSERT (SCM_CONSP(args) && SCM_INUMP (SCM_CAR (args)), args,
- SCM_ARG3, FUNC_NAME);
+ SCM_ASSERT (SCM_INUMP (SCM_CAR (args)), args, SCM_ARG3, FUNC_NAME);
SCM_ASRTGO (SCM_NULLP (SCM_CDR (args)), wna);
pos = SCM_INUM (SCM_CAR (args));
}