>> * How do you think about my expectation that the OCaml script rule >> should be evaluated only once because a single function implementation >> example is analysed here? > > The multiple times have to do with the ... not the comment variables.
I do not expect so far that the SmPL code “... when any” should trigger three displays for the shown test example. >> * Can the determination which text should belong to the attribute >> “before” or “after” become more challenging for statement metavariables? > > We know what tokens are matched by the metavariable. The comments are > attached to the tokens. How is the situation treated that a comment is between two executable statements? > It is then straightforward to make the three lists. I do not directly follow this view at the moment. Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
