From 51fd86e0fed8f5162f8c1e45e4ceaf237d6e5539 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 2 Jun 2010 11:57:05 +0400 Subject: [PATCH] expand_mmac_params: Don't forget to handle TOK_OTHER TOK_OTHER is legitime to follow TOK_PREPROC_ID so don't forget to handle it as well. [ An addition to commit ec88c1beac00 ] Signed-off-by: Cyrill Gorcunov --- preproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/preproc.c b/preproc.c index 86366ed4..406d568e 100644 --- a/preproc.c +++ b/preproc.c @@ -3746,8 +3746,9 @@ static Token *expand_mmac_params(Token * tline) tline->text[0] == '%' && tline->text[1] == '$' && (tok_type_(tline->next, TOK_ID) || tok_type_(tline->next, TOK_PREPROC_ID) || + tok_type_(tline->next, TOK_FLOAT) || tok_type_(tline->next, TOK_NUMBER) || - tok_type_(tline->next, TOK_FLOAT))) { + tok_type_(tline->next, TOK_OTHER))) { /* * In a sake of backward compatibility we allow * to expand local single macro that early before -- 2.11.4.GIT