diff options
| author | Philip <pipcet@gmail.com> | 2015-05-02 16:49:12 +0000 |
|---|---|---|
| committer | Philip <pipcet@gmail.com> | 2015-05-02 16:49:12 +0000 |
| commit | 3b4c42c3c0a4667f27f6bb3aa8278e79bb68f54d (patch) | |
| tree | 74e83c92b5ba6611919e21aa2c1fb5ef1fc62281 /tccpp.c | |
| parent | 823d0583dc34f27bff869de2915523f60ded4e93 (diff) | |
| download | tinycc-3b4c42c3c0a4667f27f6bb3aa8278e79bb68f54d.tar.gz tinycc-3b4c42c3c0a4667f27f6bb3aa8278e79bb68f54d.tar.bz2 | |
minor fix
Fixes the issue reported by Sergey at
http://lists.nongnu.org/archive/html/tinycc-devel/2015-05/msg00007.html
I hope.
Diffstat (limited to 'tccpp.c')
| -rw-r--r-- | tccpp.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |
