On 05.06.19 20:52, Julia Lawall wrote: Hi,
In principle you can remove some initializations and add them back.
How can I match/remote on that "#ifdef ..." ? Tried that, but got similar errors like Markus got (see his recent mail). It seems that spatch currently just doesn't understand preprocessor directives at all, just treats them as literal strings. Maybe that even would be fine in my case, if I only could match on that. Any way for matching just a raw text pattern (w/o being parsed), which includes special chars (eg. #) ? --mtx -- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287 _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci