I use to go through C code having lot of #ifdef
, #if
and #endif
directive which keep some portion active and some portion inactive depending on some variables are defined or not. I searched for something that can process them to generate final C code. But the preprocessing also does the same for #include
and #define
. But I want to keep them.
So, is there any thing to preprocess these files or project with some filtering?