tccpp.c: Fix failing PPTest 03
by reverting rogue modification in macro_arg_subst
This commit is contained in:
parent
fa2472c172
commit
17395ea507
1 changed files with 1 additions and 1 deletions
2
tccpp.c
2
tccpp.c
|
@ -2794,7 +2794,7 @@ static int *macro_arg_subst(Sym **nested_list, const int *macro_str, Sym *args)
|
||||||
&& 0 == check_space(t, &spc)) {
|
&& 0 == check_space(t, &spc)) {
|
||||||
const char *s = get_tok_str(t, &cval);
|
const char *s = get_tok_str(t, &cval);
|
||||||
while (*s) {
|
while (*s) {
|
||||||
if (/*t == TOK_PPSTR &&*/ *s != '\'')
|
if (t == TOK_PPSTR && *s != '\'')
|
||||||
add_char(&cstr, *s);
|
add_char(&cstr, *s);
|
||||||
else
|
else
|
||||||
cstr_ccat(&cstr, *s);
|
cstr_ccat(&cstr, *s);
|
||||||
|
|
Loading…
Reference in a new issue