Merge overlapping patterns

This commit is contained in:
Dmitry-Me 2015-08-11 12:19:59 +03:00
parent 7a0da68843
commit 51ee9b0e06
1 changed files with 1 additions and 2 deletions

View File

@ -2764,8 +2764,7 @@ public:
}
optcomma = false;
macrocode += str;
if (Token::Match(tok, "%name% %name%") ||
Token::Match(tok, "%name% %num%") ||
if (Token::Match(tok, "%name% %name%|%num%") ||
Token::Match(tok, "%num% %name%") ||
Token::simpleMatch(tok, "> >"))
macrocode += " ";