> @ r @
> identifier f;
> expression str;
> position p;
> @@
> f ( ... ) {
> <+...
> fi...@p( str, ...);
> ...+>
> }
I this, you don't need the +s. They are to ensure there is at least one
match. But the position variable is only bound if there is a match, so
the + is redundant. There is a bit of extra work for managing it, so that
could explain some of the performance difference.
Thanks for the further information. I will look at it more carefully
later today.
julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)