We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fca821 commit b95c1e6Copy full SHA for b95c1e6
1 file changed
lib/tokenize.cpp
@@ -10046,7 +10046,7 @@ void Tokenizer::simplifyBitfields()
10046
!Token::Match(tok->next(), "case|public|protected|private|class|struct") &&
10047
!Token::simpleMatch(tok->tokAt(2), "default :")) {
10048
Token *tok1 = typeTok->next();
10049
- if (Token::Match(tok1, "%name% : %num% [;=]"))
+ if (Token::Match(tok1, "%name% : %num% [;=,]"))
10050
if (!tok1->setBits(MathLib::toBigNumber(tok1->tokAt(2))))
10051
tooLargeError(tok1->tokAt(2));
10052
if (tok1 && tok1->tokAt(2) &&
0 commit comments