> @@
> expression x;
> constant c1,c2;
> @@
>
> x = c1;
> (
> x = c1;
> |
> *x = c2;
> )

Thanks for your suggestion of the possible usage of a SmPL disjunction.

* Does it indicate a search attempt to match the first assignment statement 
twice
  (for the implementation of exclusion of duplicate source code)?

* How many implementation details will become relevant for the corresponding
  documentation of the Coccinelle software?


Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to