[Cocci] new version

Nicolas Palix npalix at diku.dk
Sun Mar 7 05:07:19 CET 2010


On Sunday 07 March 2010 04:33:46 Wolfram Sang wrote:
> ACK. The possibility to add comments is also nice. There, I accidently found a
> bug or at least, the syntax is not what I expected. I had this excerpt in my
> spatch-file:
> 
> +       /*
>          * This is
>          * a kernel style multi comment
>          */
> 
> Note the missing '+' for lines 2-4. Still, the patch contained all of the comment:
> 
> +       /*
> +        * This is
> +        * a kernel style multi comment
> +        */
> 
> Come to think of it, comments are probably not existant in the abstract layer,
> so there wouldn't be anything to match against without '+'. Dunno if this
> should be an error. A warning maybe ("Did you mean '+ <string>'")?
> 

I think this is an unknown feature ! ;)

Should we keep it Julia ?
-- 
Nicolas Palix
Tel: (+33) 1 44 27 87 25


More information about the Cocci mailing list