From 5bef2f287046c1f323186ae6bb936ad5c75253b4 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 2 Nov 2012 18:49:50 +0100 Subject: [PATCH] better test loop --- preprocess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);