On Thu, 2 Jan 2014, 林嘉(程二 福州) wrote:

> Thank you very much, it works now!
> 
> And do u know where can I get more document about SmPL grammer?  I only 
> have a < The SmPL Grammar (version 0.1.4)Research group on Coccinelle 
> June 5, 2009> Which describe some simply, and there are not enough 
> examples,

I wonder where you got that version?  The version on the Coccinelle web 
page is for version 1.0.0-rc18 and is available here:

http://coccinelle.lip6.fr/docs/main_grammar.pdf

It is probably not very useful for learning Coccinelle, though.

If you are using Coccinelle version 0.1.4 you will need to upgrade.

One good resource is the mailing list, which is archived on gmane:

http://blog.gmane.org/gmane.comp.version-control.coccinelle

There are some examples with explanations on the web page:

http://coccinelle.lip6.fr/rules/

There are many examples without explanations here:

https://github.com/coccinelle/coccinellery

There are also examples in the Linux kernel source tree, in the 
scripts/coccinelle directory.

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

Reply via email to