On Mon, 10 Jan 2011, SF Markus Elfring wrote: > > * Better support for #endif and #undef > > What is the status of the handling for the other preprocessor instructions as > we discussed it on the topic "Adjustments for include guards" a while ago? > http://lists.diku.dk/pipermail/cocci/2009-September/000377.html > > Does your tool contain filter capabilities for "#ifdef" in source files now?
No. I should probably have pointed you to the more complete changes.html in the version announcement. The improved treatment of #endif is only in the parsing of C code. Previously #endif FOO would cause a parse error. There has been no change in what can be matched using SmPL related to #ifdef, #endif, etc. #define and #undef can be matched against. julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
