Oops in assertion: MAXPROCARG instead of MAXPROCARGS
This commit is contained in:
parent
77c4e5ebbc
commit
d074e81201
@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user