Re: [cocci] Questionable macro expansions
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
> Coccinelle expands macros when it has them available and when it is not > able to parse the code without doing the expansion. I find this information relevant for further clarifications. > This is not > controllable by the user. I suggest to reconsider such a view in more detail. > The only thing you can do it perhaps provide a > different definition of the macro that better corresponds to the results > you hope for (or just remove the definition of the macro entirely, which > will cause a parse failure and thus no results for the affected code). Will any other software design options become more attractive? Regards, Markus