>> Will similar software updates become more challenging for the initially
>> described handling of designated initialisers for known data structures?
>
> This is in the spirit of the solution I already proposed.

Would you like to compare transformation results also for the following SmPL
change specification?

@replacement@
constant text;
expression value;
identifier my_name;
type driver_type;
@@
 static
 driver_type my_name = {
-                      .driver = {
-                                .name = text,
-                                .of_match_table = value
+                      .driver = {
+                                .name = text,
+                                .of_match_table = of_match_ptr(value)
                                 ,
                                 }, ...
                       };


Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to