Hi all,
I'm trying to do something like this:
@@
identifier list;
@@
struct my_struct list[] = {
<...
{
+ .field = 27,
},
...>
};
where "field" is a new struct member and I want it initialized
everywhere.
The above doesn't parse, but is there another way of doing it?
The expected output would be
struct my_struct xyz[] = {
{
+ .field = 27,
.other_field = 7,
},
{
+ .field = 27,
.third_field = 8,
},
};
Thanks,
johannes
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci