Don't expand macros inside #if 0 at _all_

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 15:40:19 +01:00
parent 5ca4390a1f
commit b78dab9d71

View file

@ -1265,6 +1265,8 @@ static bool ftepp_preprocess(ftepp_t *ftepp)
case TOKEN_KEYWORD:
case TOKEN_IDENT:
case TOKEN_TYPENAME:
if (!ftepp->output_on)
break;
macro = ftepp_macro_find(ftepp, ftepp_tokval(ftepp));
if (!macro) {
ftepp_out(ftepp, ftepp_tokval(ftepp), false);