On Tue, Apr 3, 2012 at 1:08 PM, ron minnich <[email protected]> wrote:
> struct a {
>        int b;
>        int c;
> };
>
>
> /* spatch --sp-file t.cocci t.c */
>
> @@
> @@
> struct a {
> -int b;
> };
>
> I want to delete the 'int b' ... what am I missing here?

@@
@@
  struct a {
  ...
- int b;
  ...
  };
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to