From: Wolfgang (Blub) Bumiller Date: Fri, 2 Nov 2012 17:49:50 +0000 (+0100) Subject: better test loop X-Git-Tag: 0.1~49 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5bef2f287046c1f323186ae6bb936ad5c75253b4;p=xonotic%2Fgmqcc.git better test loop --- diff --git a/preprocess.c b/preprocess.c index bf1873d..55878a0 100644 --- a/preprocess.c +++ b/preprocess.c @@ -25,8 +25,8 @@ bool preprocess(const char *filename) printf("\n"); else if (tok >= TOKEN_START && tok < TOKEN_EOF) printf("%s", lex->tok.value); - else - printf("%c", tok); + else if (tok < TOKEN_START) + printf("%c", tok); /* these are characters */ #endif } while (tok < TOKEN_EOF);