On 12/06/2010 06:48 AM, Julia Lawall wrote:
On Sun, 5 Dec 2010, Michael Stefaniuc wrote:

Hello,

I'm removing some #define and wanted to get rid of the corresponding #undef
too but

@@
@@
- #undef DEFINE_THIS

will give the error:
File "/tmp/ttt.cocci", line 3, column 2,  charpos = 8
     around = '#', whole content = - #undef DEFINE_THIS
Fatal error: exception Lexer_cocci.Lexical("unrecognised symbol, in token
rule: #")

OK.  I never thought about handling #undef, but it should not be
difficult.
Me neither ;) but for whatever reason the Wine code I'm cleaning up atm has them.

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

Reply via email to