On Wed, 4 Mar 2015, SF Markus Elfring wrote:

> >> In which contexts does the syntax allow the use of single quotes
> >> for the C programming language?
> >
> > As far as I can tell, all.
>
> Are they only valid within comments and string literals?

Coccinelle doesn't care if they are valid or not.  Once the lexer accepts
'' as a character, no subsequent part of coccinelle should noitce.

> >> How would you like to handle text within the construct "#if 0 / #endif"
> >> by the analysis tool?
> >
> > There is a flag for choosing whether to do this.
>
> Do you refer to the undocumented command line parameter "noif0-passing"?

Undoubtedly.

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

Reply via email to