Support array init with just a comma

Refs #3643
This commit is contained in:
Clément Fournier
2022-11-05 16:31:17 +01:00
parent b39ba3c560
commit 92ccf1b0ea

View File

@ -2595,7 +2595,7 @@ void MemberValue():
void MemberValueArrayInitializer():
{}
{
"{" (MemberValue() ( LOOKAHEAD(2) "," MemberValue() )* [ "," ])? "}"
"{" (MemberValue() ( LOOKAHEAD(2) "," MemberValue() )*)? [ "," ] "}"
}
/*