--- list.c.~1.71.~ 1970-01-01 10:00:01.000000000 +1000 +++ list.c 2003-10-09 14:58:27.000000000 +1000 @@ -231,6 +231,7 @@ SCM res = SCM_EOL; SCM *lloc = &res; SCM arg = SCM_CAR (args); + int argnum = 1; args = SCM_CDR (args); while (!SCM_NULLP (args)) { while (SCM_CONSP (arg)) { @@ -238,9 +239,10 @@ lloc = SCM_CDRLOC (*lloc); arg = SCM_CDR (arg); } - SCM_VALIDATE_NULL_OR_NIL (SCM_ARGn, arg); + SCM_VALIDATE_NULL_OR_NIL (argnum, arg); arg = SCM_CAR (args); args = SCM_CDR (args); + argnum++; }; *lloc = arg; return res;