Skip to content

Commit

Permalink
Update tokenize.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 13, 2023
1 parent e3917a3 commit 67ffbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8397,7 +8397,7 @@ void Tokenizer::findGarbageCode() const
}
}
if (Token::Match(tok, "%num%|%bool%|%char%|%str% %num%|%bool%|%char%|%str%") &&
!(Token::Match(tok, "%str% %str%") /*|| (Token::Match(tok, "%str% %num%") && tok->next()->isExpandedMacro())*/))
!(Token::Match(tok, "%str% %str%") || (Token::Match(tok, "%str% %num%") && tok->next()->isExpandedMacro())))
syntaxError(tok);
if (Token::Match(tok, "%assign% typename|class %assign%"))
syntaxError(tok);
Expand Down

0 comments on commit 67ffbe5

Please sign in to comment.