Oops in assertion: MAXPROCARG instead of MAXPROCARGS
This commit is contained in:
parent
0c95aa4b86
commit
95632b0fef
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue