>> Would you like to add any source code only after a variable declaration > > Coccinelle doesn't allow this. It has no way of knowing whether other > declarations come afterwards,
I suggest to reconsider this quick response. Are there approximations supported for such a source code search approach? > and in the Linux kernel it is not allowed to mix statements and declarations. There are adjustments possible for the desired scopes, aren't there? >> (or definition) block? Which details will become more interesting for corresponding transformation patterns? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
