We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can only the #if and #else be evaluated and pre-processed and avoid macro expansion of any available macros in the code?
Tried overiridng with few PreprocessorHooks but unsuccessful. Would really appreciate some help.
Input #define PARAM_A STD_ON #define LOOPVAL 3
#if (PARAM_A== STD_ON) while(iter < LOOPVAL ) {
} #endif
Expected Output while(iter < LOOPVAL ) {
}
Not Expected Output while(iter < 3) {
Similarly for other macro like functions etc.
The text was updated successfully, but these errors were encountered:
Supply me your PreprocessorHooks implementation and I'll take a look.
PreprocessorHooks
Sorry, something went wrong.
No branches or pull requests
How can only the #if and #else be evaluated and pre-processed and avoid macro expansion of any available macros in the code?
Tried overiridng with few PreprocessorHooks but unsuccessful. Would really appreciate some help.
Input
#define PARAM_A STD_ON
#define LOOPVAL 3
#if (PARAM_A== STD_ON)
while(iter < LOOPVAL )
{
}
#endif
Expected Output
while(iter < LOOPVAL )
{
}
Not Expected Output
while(iter < 3)
{
}
Similarly for other macro like functions etc.
The text was updated successfully, but these errors were encountered: