mirror of
https://github.com/frida/tinycc
synced 2025-01-23 11:42:04 +03:00
tccpp.c: Fix failing PPTest 03
by reverting rogue modification in macro_arg_subst
This commit is contained in:
parent
fa2472c172
commit
17395ea507
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 New Issue
Block a user