On Thu, Jun 06, 2019 at 04:20:24PM +0200, Markus Elfring wrote: > > Ifdefs are parsed as comments. > > I am curious under which circumstances this software situation > can be changed for the better support of preprocessor functionality.
It may not support your particular use case, and it is not nearly as flexible as `spatch` (in principle) is, but a program called `unifdef` that ships with *BSD systems will replace #ifdef sections with their content or else the empty string, depending on the variables you define on its command line. Dave -- David Young [email protected] Urbana, IL (217) 721-9981 _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
