Merge pull request #121 from callumenator/struct-init-fix
Struct member initializers were not being stored
This commit is contained in:
commit
ee940f3d30
|
@ -4723,6 +4723,8 @@ q{(int a, ...)
|
|||
do
|
||||
{
|
||||
auto structMemberInitializer = parseStructMemberInitializer();
|
||||
if (structMemberInitializer !is null)
|
||||
node.structMemberInitializers ~= structMemberInitializer;
|
||||
if (currentIs(tok!","))
|
||||
{
|
||||
advance();
|
||||
|
|
Loading…
Reference in New Issue