On Fri, 16 Dec 2011, SF Markus Elfring wrote:

It would add completely new syntax for a very small problem.

I imagine that there is a need for the capability to specify not only meta-variables but also SmPL commands and configuration options in the "@@ block".

Currently the tool coccicheck will pick up configuration options in a comment line at the beginning of the cocci file. There are currently no SmPL commands, as far as I can tell.

SmPL rules can depend on information from previous selections. Can such "@@ blocks" contain specifications without a directly following patch/filter pattern?

No.

julia
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to