From: Wolfgang (Blub) Bumiller Date: Fri, 30 Nov 2012 14:41:01 +0000 (+0100) Subject: Still have to parse ahead though X-Git-Tag: 0.1.9~173 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0627e9e06ed37da7f653bd5617a03403457ada61;p=xonotic%2Fgmqcc.git Still have to parse ahead though --- diff --git a/ftepp.c b/ftepp.c index b9d0ded..984bff9 100644 --- a/ftepp.c +++ b/ftepp.c @@ -1266,8 +1266,9 @@ static bool ftepp_preprocess(ftepp_t *ftepp) case TOKEN_IDENT: case TOKEN_TYPENAME: if (!ftepp->output_on) - break; - macro = ftepp_macro_find(ftepp, ftepp_tokval(ftepp)); + macro = ftepp_macro_find(ftepp, ftepp_tokval(ftepp)); + else + macro = NULL; if (!macro) { ftepp_out(ftepp, ftepp_tokval(ftepp), false); ftepp_next(ftepp);