On Wed, 27 May 2015, SF Markus Elfring wrote:

> > i have a file that contains a list of functions ,
>
> Such an use case was discussed a few times here.
>
>
> > i want to apply a script to my code when it  detects a function not
> > present in my file.
>
> How do you think about to convert the list from your input file to an
> other data structure like the following?
> * SmPL disjunction
> * Alternation in a regular expression for a SmPL constraint

A SmPL disjunction will give Coccinelle more information that will allow
it to ignore files that cannot possibly match.

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

Reply via email to