> I think that all you want is the ability to specify a function like;
> \(foo\|xxx\|yyy\)(...) {Do you suggest an extension for the semantic patch language syntax here? Is the selection for a couple of function names (with the help of regular expressions) not directly supported by SmPL at this place? > <... > - alpha() > + beta() > ...> > } This shows just the simple use case for renaming or replacing of function calls. http://coccinelle.lip6.fr/docs/main_grammar011.html#toc1 This is not enough for a "convenient" and elegant solution I am looking for the completion of error detection. Would you like to express any scope limitations like "function implementation/body" in the SmPL meta-variable declaration area (the "@@ block")? Regards, Markus _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
