@is_member_function@
identifier f, s;
type t;
@@
struct s
{
...
t (*f)(...);
...
}
Would you like to support the filtering of source code for data structures that
do not use the tag name "s" as in this example?
Would such an extension be useful for the semantic patch language?
http://www.cs.man.ac.uk/~pjj/bnf/c_syntax.bnf
http://stackoverflow.com/questions/1972003/how-to-use-anonymous-structs-unions-in-c
http://stackoverflow.com/questions/252780/why-should-we-typedef-a-struct-so-often-in-c
http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=557
Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)