summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/preproc.c b/preproc.c
index a881dcef..91fa665c 100644
--- a/preproc.c
+++ b/preproc.c
@@ -3820,32 +3820,6 @@ static Token *expand_mmac_params(Token * tline)
}
delete_Token(t);
changed = true;
- } else if (tline->type == TOK_PREPROC_ID &&
- tline->text[0] == '%' && tline->text[1] == '$' &&
- (tok_type_(tline->next, TOK_ID) ||
- tok_type_(tline->next, TOK_PREPROC_ID) ||
- tok_type_(tline->next, TOK_NUMBER) ||
- tok_type_(tline->next, TOK_FLOAT))) {
- /*
- * 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);
- tt = expand_smacro(tt);
- *tail = tt;
- while (tt) {
- tt->a.mac = NULL;
- tail = &tt->next;
- tt = tt->next;
- }
- delete_Token(t);
- changed = true;
} else {
t = *tail = tline;
tline = tline->next;