But when I try to use it , I get error. the screen output: init_defs_builtins: /usr/local/share/coccinelle/standard.h 16 17 Fatal error: exception Failure("meta: parse error: = File "c1.cocci", line 2, column 13, charpos = 16 around = '~', whole content = declarer xyz ~= MODULE_(?:AUTHOR|DESCRIPTION|LICENSE); ")How can I fix that ?
Which version of the program "spatch" do you use here? Does the following approach work as expected? @@ declarer xyz =~ MODULE_(AUTHOR|DESCRIPTION|LICENSE); @@ -xyz(...); http://lists.diku.dk/pipermail/cocci/2011-August/002145.html http://article.gmane.org/gmane.comp.version-control.coccinelle/1672/ Regards, Markus _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
