s/puts("")/putchar(n)/.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Nov 2008 10:22:34 +0000 (10:22 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 17 Nov 2008 10:22:34 +0000 (10:22 +0000)
[r23720]

main.c

diff --git a/main.c b/main.c
index ce9526b..6e2b62e 100644 (file)
--- a/main.c
+++ b/main.c
@@ -231,7 +231,7 @@ static void lextest(FILE *in, const char *fname)
        do {
                lexer_next_preprocessing_token();
                print_token(stdout, &lexer_token);
-               puts("");
+               putchar('\n');
        } while (lexer_token.type != T_EOF);
 }