1.1 --- a/templates/native/list.c Thu Jan 19 19:23:39 2017 +0100
1.2 +++ b/templates/native/list.c Thu Jan 19 23:33:10 2017 +0100
1.3 @@ -32,7 +32,7 @@
1.4 __attr * const size = &__args[1];
1.5 /* size.__data__ interpreted as int */
1.6 unsigned int n = __load_via_object(size->value, __pos___data__).intvalue;
1.7 - __attr attr = {0, .seqvalue=__new_fragment(n)};
1.8 + __attr attr = {{0}, .seqvalue=__new_fragment(n)};
1.9
1.10 /* Return the __data__ attribute. */
1.11 return attr;
1.12 @@ -61,7 +61,7 @@
1.13
1.14 /* Replace the __data__ attribute if appropriate. */
1.15 if (newdata != data)
1.16 - __store_via_object(self->value, __pos___data__, ((__attr) {0, .seqvalue=newdata}));
1.17 + __store_via_object(self->value, __pos___data__, ((__attr) {{0}, .seqvalue=newdata}));
1.18 return __builtins___none_None;
1.19 }
1.20
1.21 @@ -92,7 +92,7 @@
1.22
1.23 /* Replace the __data__ attribute if appropriate. */
1.24 if (newdata != data)
1.25 - __store_via_object(self->value, __pos___data__, ((__attr) {0, .seqvalue=newdata}));
1.26 + __store_via_object(self->value, __pos___data__, ((__attr) {{0}, .seqvalue=newdata}));
1.27 return __builtins___none_None;
1.28 }
1.29