Allow trailing commas in string array declarations. (bug 6239)
This commit is contained in:
parent
89f5d6ecfb
commit
74908098f4
@ -2720,8 +2720,11 @@ static cell initvector(int ident,int tag,cell size,int fillzero,
|
||||
} while (matchtoken(',')); /* do */
|
||||
needtoken('}');
|
||||
} else {
|
||||
if (!lexpeek('}'))
|
||||
{
|
||||
init(ident,&ctag,errorfound);
|
||||
matchtag(tag,ctag,TRUE);
|
||||
}
|
||||
} /* if */
|
||||
/* fill up the literal queue with a series */
|
||||
if (ellips) {
|
||||
|
Loading…
Reference in New Issue
Block a user