On Sun, 1 Jan 2012, SF Markus Elfring wrote:
For example, it looks like you would want to put
#define __THROW
in such a file.
If I put this preprocessor statement together with "#define __nonnull(X)"
into an additional header file "spatch-tweaks.h", I wonder still why there
remain a couple of messages about parsing errors for variable names with
leading underscores.
I have no idea. Those two declarations do not necessarily solve all
problems. You have to look at each case separately. On the other hand,
if some problems don't relate to the code that you want to process,
then you can skip them. Coccinelle should be able to find the next
definition after a parse error and continue from there.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)