> The <+... ...+> starts the matching process at the beginning of the
> function and ends it at the end of the function, instead of just working
> on each if one by one.  Thus <+... ...+> should be much less efficient.
> Also with <+... ...+> if you put a position variable on eg the if, you
> will get a single position array with all the matches, whereas without it
> you get one position array per if.

How are the chances that such kind of information will also find its way
into the section "Dot variants" of the manual?
https://github.com/coccinelle/coccinelle/blob/3b52bd3c6960dc996186e1c58c96355db288825c/docs/manual/cocci_syntax.tex#L632

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to