>> * Would such an inclusion approach trigger special requirements on the
>>   position for corresponding initialisation code?
> 
> The constraint specification should be a single function call.

Does the script constraint syntax allow more programming language code there?


> You can set up your @initialize:python@ code to import whatever you want.

I would prefer to keep initialisation code for the implementation of the
predicate function closely together with the call of the included metavariable.

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

Reply via email to