>   /// Convert typdefed structs to structs
>   
>   @ rule1 @
>   identifier i;
>   type t;
>   @@
>   -typedef struct i {
>   +struct i {
>       ...
>   - }t;
>   + };

How do you think about a bit more fine-tuning for your SmPL approach?

 ...
 }
-t
 ;

Is it sufficient to express the desired deletion at this place?

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

Reply via email to