From 3b4c42c3c0a4667f27f6bb3aa8278e79bb68f54d Mon Sep 17 00:00:00 2001 From: Philip Date: Sat, 2 May 2015 16:49:12 +0000 Subject: [PATCH] minor fix Fixes the issue reported by Sergey at http://lists.nongnu.org/archive/html/tinycc-devel/2015-05/msg00007.html I hope. --- tccpp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tccpp.c b/tccpp.c index fa29ca96..8e94ca78 100644 --- a/tccpp.c +++ b/tccpp.c @@ -2889,7 +2889,8 @@ static int macro_subst_tok(TokenString *tok_str, if (macro_ptr) { p = macro_ptr; while (is_space(t = *p) || TOK_LINEFEED == t) { - tok_str_add(&ws_str, t); + if (saved_parse_flags & PARSE_FLAG_SPACES) + tok_str_add(&ws_str, t); ++p; } if (t == 0 && can_read_stream) {