mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Don't expand macros inside #if 0 at _all_
This commit is contained in:
parent
5ca4390a1f
commit
b78dab9d71
1 changed files with 2 additions and 0 deletions
2
ftepp.c
2
ftepp.c
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue