aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tccpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index 0a99832..8a06300 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -2742,7 +2742,7 @@ static int *macro_arg_subst(Sym **nested_list, const int *macro_str, Sym *args)
spc = 0;
while (*st) {
TOK_GET(&t, &st, &cval);
- if (!check_space(t, &spc))
+ if (t != TOK_PLCHLDR && !check_space(t, &spc))
cstr_cat(&cstr, get_tok_str(t, &cval));
}
cstr.size -= spc;