Fix compiler creating bogus arrays when missing a dimension (bug 4902, r=fyren).
This commit is contained in:
parent
a02ff01d84
commit
bb48a16466
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user