Remove stupid assert

It triggers if you use an undefined symbol as array dimension size.
The error is actually reported during the second pass.
This commit is contained in:
Zeex 2014-08-03 15:39:32 +07:00
parent e35f9c9a21
commit 1af47f05c3

View File

@ -2310,7 +2310,6 @@ static int base;
if (cur==numdim-1)
return 0;
/* 2 or more dimensions left, fill in an indirection vector */
assert(dim[cur]>0);
if (dim[cur+1]>0) {
for (d=0; d<dim[cur]; d++)
litq[base++]=(dim[cur]+d*(dim[cur+1]-1)+increment) * sizeof(cell);