On Fri, 27 May 2011, Francis Galiegue wrote: > Hello, > > Normally, to (un)match identifiers/expressions against values, you > have to use regular expressions and the ~= or ~! operators. > > However, you can also write: > > expression E != NULL; > > Whereas the = and != operators are normally meant to (un)match against > other tokens. > > Are there other reserved keywords like this one?
You can use any identifier (an explicit one, not a metavariable) or a constant after the !=. NULL is not a reserved keyword for Coccinelle. julia _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
