type T;
identifier s;
@@
 T {
     ...
     struct i2c_adapter s;
     ...
 }
 ^^^ I'm astonished it worked without the ';' and what the difference

Thanks for pointing this out. It was allowing one to just remove an expression or just remove a type. Neither is a good idea. I have fixed the problem, but I'm not sure it is worth posting a patch, unless someone wants it.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to