[Cocci] Initialization thrown away

Julia Lawall julia.lawall at lip6.fr
Thu Dec 11 09:59:20 CET 2014



On Thu, 11 Dec 2014, Julia Lawall wrote:

> Actually, the problem is the following isomorphism:
>
> Declaration
> @ const_decl_init @
> type T;
> identifier Z;

Alternatively, you can change the above declaration to

context identifier Z;

julia

> 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