Coccinelle version 1.0.0 is released.
The main changes are:
* Metavariables for binary and assignment operators. Examples can be
found by grepping for "operator" in coccinelle/tests. For example, the
metavariable declaration
binary operator bop = { &&, ||, ==, !=, <, <=, >, >= };
will cause bop to match any of the operators in the set { &&, ||, ==, !=,
<, <=, >, >= }.
* A rewrite of the code for inserting newlines among function call
arguments, when these pass column 80.
* Support for disjunctions in structure names.
* Performance optimizations for cases where one rule inherits position
variables, to only consider code that contains the mentioned positions.
* Support for const in some strange places in C code.
* Improved management of remaining comments when nearby code is removed.
Comments and bug reports are welcome.
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci