aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index fa29ca9..8e94ca7 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) {