Revert "expand_mmac_params: Expand local single macros unconditionally"
This reverts commit 985d880c15
.
Revert due to BR 3026808.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
f86b8b22e1
commit
ddd08c3ccc
1 changed files with 8 additions and 1 deletions
|
@ -3822,7 +3822,14 @@ static Token *expand_mmac_params(Token * tline)
|
|||
changed = true;
|
||||
} else if (tline->type == TOK_PREPROC_ID &&
|
||||
tline->text[0] == '%' && tline->text[1] == '$') {
|
||||
/* expand local macro */
|
||||
/*
|
||||
* In a sake of backward compatibility we allow
|
||||
* to expand local single macro that early before
|
||||
* pasting token code have place
|
||||
*
|
||||
* NOTE: that new code MUST use %+ macro to obtain
|
||||
* same result
|
||||
*/
|
||||
t = tline;
|
||||
tline = tline->next;
|
||||
tt = tokenize(t->text);
|
||||
|
|
Loading…
Reference in a new issue