SCCS-vsn: usr.bin/pascal/src/call.c 2.3
/* Copyright (c) 1979 Regents of the University of California */
#ifndef lint
/* Copyright (c) 1979 Regents of the University of California */
#ifndef lint
-static char sccsid[] = "@(#)call.c 2.2 %G%";
+static char sccsid[] = "@(#)call.c 2.3 %G%";
#endif
#include "whoami.h"
#endif
#include "whoami.h"
- if (p2->chain->class != CRANGE) {
+ if (p2 == NLNIL || p2->chain->class != CRANGE) {
if (q != p2) {
error("Parameter type not identical to type of var parameter %s of %s", p1->symbol, p->symbol);
chk = FALSE;
if (q != p2) {
error("Parameter type not identical to type of var parameter %s of %s", p1->symbol, p->symbol);
chk = FALSE;