> It seems that spatch currently just doesn't understand preprocessor > directives at all,
I find this view only partly appropriate. There is preprocessor functionality supported by the semantic patch language. Example: https://github.com/coccinelle/coccinelle/blob/cad4c0705f9e37f501531e133d3a47bc56ed0ce2/docs/manual/cocci_syntax.tex#L1125 > just treats them as literal strings. See also: https://github.com/coccinelle/coccinelle/blob/cad4c0705f9e37f501531e133d3a47bc56ed0ce2/docs/manual/cocci_syntax.tex#L1765 Additional development attention and further resources can considerably help to improve the discussed situation also for the Coccinelle software, can't they? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
