> First the first rule is matched agains all functions.  Then any 
> transformations indicated by that match are performed.

The semantic patch language makes it easy to replace just a concrete function
call. I find it harder to specify the replacement also for the passed parameters
because it depends on variable definitions and assignments earlier in the source
code.

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to