tccpp.c: fix empty stringify
#define STRINGIFY2(x) #x #define STRINGIFY(x) STRINGIFY2(x) STRINGIFY() should produce "", not "\301".
This commit is contained in:
parent
951a43ea6c
commit
a6b94eff79
1 changed files with 1 additions and 1 deletions
2
tccpp.c
2
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;
|
||||
|
|
Loading…
Reference in a new issue