On Sat, Mar 06, 2010 at 05:27:37PM +0100, Julia Lawall wrote:
> Coccinelle version 0.2.2-rc1 is now available.  In this version we have 
> addressed some recent requests, including:

Great! Immediately downloaded it.

> 
> * Multiple include paths, specified using -I.  Note that -all_includes is 
> often necessary to benefit from this feature.

Didn't test this one.

> 
> * Insensitivity to whether / appears at the end of directory names.

ACK.

> 
> * Elimination of the space after * in added code.

ACK.

> 
> * Ability to add blank lines using +

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>'")?

Regards and thanks!

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachment: signature.asc
Description: Digital signature

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

Reply via email to