On Fri, 18 Nov 2016, SF Markus Elfring wrote:
> > The idea with the script constraints on metavariables feature is that the > > script code there should only contain a function call. The actual > > function definition should be elsewhere; probably in an initialize rule. > > * Did you consider the use case already when such a constraint specification > would be included from an external file as a component or together > with a rule selection for the semantic patch language? > > * Would such an inclusion approach trigger special requirements on the > position for corresponding initialisation code? The constraint specification should be a single function call. You can set up your @initialize:python@ code to import whatever you want. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
