minor fix
Fixes the issue reported by Sergey at http://lists.nongnu.org/archive/html/tinycc-devel/2015-05/msg00007.html I hope.
This commit is contained in:
parent
823d0583dc
commit
3b4c42c3c0
1 changed files with 2 additions and 1 deletions
1
tccpp.c
1
tccpp.c
|
@ -2889,6 +2889,7 @@ static int macro_subst_tok(TokenString *tok_str,
|
||||||
if (macro_ptr) {
|
if (macro_ptr) {
|
||||||
p = macro_ptr;
|
p = macro_ptr;
|
||||||
while (is_space(t = *p) || TOK_LINEFEED == t) {
|
while (is_space(t = *p) || TOK_LINEFEED == t) {
|
||||||
|
if (saved_parse_flags & PARSE_FLAG_SPACES)
|
||||||
tok_str_add(&ws_str, t);
|
tok_str_add(&ws_str, t);
|
||||||
++p;
|
++p;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue