Oops in assertion: MAXPROCARG instead of MAXPROCARGS

This commit is contained in:
ceriel 1990-02-23 17:05:04 +00:00
parent 0c95aa4b86
commit 95632b0fef

View file

@ -152,7 +152,7 @@ unsigned codegen(codep,ply,toplevel,costlimit,forced) byte *codep; unsigned cost
int j, nargs; int j, nargs;
getint(i,bp); getint(i,bp);
getint(nargs,bp); getint(nargs,bp);
assert(nargs < MAXPROCARGS); assert(nargs < MAXPROCARG);
for (j = 0; j < nargs; j++) { for (j = 0; j < nargs; j++) {
getint(procarg[j],bp); getint(procarg[j],bp);
} }