Cocc version? I guess it's got by -v? # spatch -version spatch version 0.2.3 with Python support maybe it is up to date?
and old version of grammer pdf is downloaded from: http://www.emn.fr/z-info/coccinelle/docs/main_grammar.pdf thank you tell me the new version of pdf -----邮件原件----- 发件人: Julia Lawall [mailto:[email protected]] 发送时间: 2014年1月2日 18:18 收件人: 林嘉(程二 福州) 抄送: [email protected] 主题: Re: 答复: 答复: 答复: [Cocci] hi all, how to match the args in function 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
