On Sun, 8 May 2011, SF Markus Elfring wrote:

> > I'm not sure why that is a problem, but one can certainly write whatever
> > one wants in the python code.
> 
> Would it make sense to add the capability for the specification of the needed
> function name constraints to the semantic patch language directly?
> Can potential SmPL matches be restricted to patterns where a part of an
> identifier should not exist before the desired adjustment?

No, this was considered, but has not been implremented.  Also it was only 
considered for fresh identifiers, ie identifiers intended to be unique.  
It is not completely clear that that is what is intended here.

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

Reply via email to