> 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

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

Reply via email to