On Sat, 17 Feb 2018, SF Markus Elfring wrote:
> >> Now I am looking again for further possibilities to avoid corresponding
> >> code duplication.
> >>
> >> * Scripted constraints might be a design option.
> >> Unfortunately, I find the documentation for this functionality still
> >> incomplete.
> >
> > What information do you find to be lacking?
>
> I would appreciate if the place for the desired predicate will be better
> explained.
>
> May they refer to a predefined function?
When you write eg
identifier x : script:python(...) { ... };
or
identifier x : script:ocaml(...) { ... };
Between the { ... } you can put any code that you could put in a python or
ocaml script, respectively.
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci