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.

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

Reply via email to