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);