Le 04/07/2012 16:14, Damien Cassou a écrit :
On Wed, Jul 4, 2012 at 4:08 PM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Have you really tried to write patches in Smpl for Coccinelle to say that ?
Smpl is great, but for a broken developement model. How do you think you manage conditional code (#ifdef and friends) with tools like that ?
I was just saying that semantic patches already exist for text files so we don't have to reinvent the wheel. What we want, for sure, is that these files are generated automatically :-)
But why would you try to write "semantic" patches, that is patches that are trying to recreate a semantic you had in the image and lost when generating the files ? It's true Coccinelle would probably work a lot better on st source files than C files :-) Thierry -- Thierry Goubier CEA list Laboratoire des Fondations des Systèmes Temps Réel Embarqués 91191 Gif sur Yvette Cedex France Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95