Fix compiler creating bogus arrays when missing a dimension (bug 4902, r=fyren).

This commit is contained in:
David Anderson 2011-07-06 17:56:40 -04:00
parent a02ff01d84
commit bb48a16466

View File

@ -2923,7 +2923,7 @@ static cell initvector(int ident,int tag,cell size,int fillzero,
matchbrace=matchtoken('{');
for ( ;; ) {
prev2=prev1;
prev1=init(ident,&ctag,errorfound);
prev1=init(iVARIABLE,&ctag,errorfound);
if (!matchbrace)
break;
if ((ellips=matchtoken(tELLIPS))!=0)