Merge pull request #121 from callumenator/struct-init-fix

Struct member initializers were not being stored
This commit is contained in:
Hackerpilot 2014-02-23 14:33:35 -08:00
commit ee940f3d30
1 changed files with 2 additions and 0 deletions

View File

@ -4723,6 +4723,8 @@ q{(int a, ...)
do
{
auto structMemberInitializer = parseStructMemberInitializer();
if (structMemberInitializer !is null)
node.structMemberInitializers ~= structMemberInitializer;
if (currentIs(tok!","))
{
advance();