On Sat, 17 Dec 2011, SF Markus Elfring wrote:

There are no new keywords. You just use the rule name as a metavariable as shown
in the example.

I assume that this approach has got various consequences if you choose to support C syntax and SmPL rule features by the single interface "metavariable". I imagine that it would be useful to offer separate interfaces for SmPL rule management and syntax handling.

I don't understand any of the above. Coccinelle know what kind of term the pattern matches. That is the kind of metavariable that is implicitly declared.

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

Reply via email to