[Cocci] insert after #include

Aaen, Andreas.Bach andreas.bach.aaen at crisplant.com
Wed Mar 24 15:07:43 CET 2010


Hi,

I would like to insert an #include statement after a specific #define statement.

--------------------
@@
@@
#define TABINFOGEN
+#include <tbl.h>
--------------------

However this Coccinelle patch doesn't parse at all. What should I have written instead?

Regards
Andreas Bach Aaen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.diku.dk/pipermail/cocci/attachments/20100324/49941bad/attachment.htm


More information about the Cocci mailing list