On Tue, 13 Dec 2011, SF Markus Elfring wrote:
I'm not sure what the issue is here, but if there is c++ code, you shoudl
give
the -c++ option.
I would expect that only C source files should be processed in my test case
here.
It processes .h files. It doesn't know whether a .h file is C code or C++
code.
It pretends that ifdefs are not there.
Is the handling of any preprocessor symbol still ignored by the Coccinelle
software?
The definitions of preprocessor symbols are not ignored. They can be
matched against. But there has been no change in the extent to which the
definition is propagated to the use.
On the other hand, if it cannot find an include file, it just keeps going.
This behaviour confuses me a bit.
In general, if the parsing of something fails, it moves on to the next
thing.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)