[Cocci] Initialization thrown away

Julia Lawall julia.lawall at lip6.fr
Thu Dec 11 09:56:55 CET 2014


Actually, the problem is the following isomorphism:

Declaration
@ const_decl_init @
type T;
identifier Z;
constant C;
@@
T Z; => T Z = C;

In between the initial @@, you can put disable const_del_init.

julia


More information about the Cocci mailing list