On Sat, 15 Oct 2016, SF Markus Elfring wrote:

> > The simplest would be to use python or ocaml code to make the checks that
> > are needed.  You can use cocci.include_match(False) in python or
> > Coccilib.include_match false in ocaml when your test detects that
> > something is not suitable.
> Will it occasionally matter then to distinguish better if a specific source 
> code
> fragment or a complete source file should be excluded from an analysis run
> on demand?

I have no idea what you mean by this.  But since I know very little about
this printing problem in general, I doubt that I can give an answer.  Try
it and see what requirements turn up.

Cocci mailing list

Reply via email to