Re: [cocci] Clarification for parsing capabilities?

Markus Elfring <[email protected]>
Newsgroups fr.inria.cocci
Message-ID <[email protected]>
> In general, Coccinelle does not expand macros.

Are there any “special cases” to reconsider?


>                                                 So you can match them
> with no problem.

Some data processing challenges were discussed.


>                   The problem here is tha there is no way to parse the
> code without expanding the macro.

I find this view debatable.

Several developers (and code reviewers) got trained for advanced pattern recognition,
didn't they?

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.