On Thu, 2 Jan 2014, 林嘉(程二 福州) wrote:

> Well, now I wrote as following:
> 
> @@
> identifier fn, vp;
> typedef bri_vlan_set_t;
> @@
> fn(...,bri_vlan_set_t vp,...);

Oops sorry.  I you want to match only the prototype, you do need to put 
the type out front.  So it would be

 @@
 identifier fn, vp;
 typedef bri_vlan_set_t;
 type T;
 @@
 T fn(...,bri_vlan_set_t vp,...);

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

Reply via email to