Thanks for the quick reply. It doesn't seems to have anything to do with 
RELEASESTR() being a macro or not.

See this small example:

--------------
#include <std.h>
foo(42);
#include        <stdio.h>
--------------

And the cocci patch:
----------
@@
expression E;
@@
-foo(E);
----------

Now this doesn't remove foo(42);
So how do I remove foo(42); in the example above?

Regards

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

Reply via email to