From: Wolfgang Bumiller Date: Mon, 11 Feb 2013 11:13:27 +0000 (+0100) Subject: include: guard the actual inclusion with ftepp->output_on so that include inside... X-Git-Tag: before-library~112^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1dfd375738891d188e52e0f55c2e2575370fcd29;p=xonotic%2Fgmqcc.git include: guard the actual inclusion with ftepp->output_on so that include inside #if 0 doesn't happen --- diff --git a/ftepp.c b/ftepp.c index 27e3afe..2ce9f47 100644 --- a/ftepp.c +++ b/ftepp.c @@ -1379,6 +1379,11 @@ static bool ftepp_include(ftepp_t *ftepp) return false; } + if (!ftepp->output_on) { + ftepp_next(ftepp); + return true; + } + ctx = ftepp_ctx(ftepp); unescape(ftepp_tokval(ftepp), ftepp_tokval(ftepp));