We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18dd4ee commit 2e0446fCopy full SHA for 2e0446f
1 file changed
lib/tokenize.cpp
@@ -8944,7 +8944,7 @@ void Tokenizer::findGarbageCode() const
8944
syntaxError(tok);
8945
if (Token::Match(tok, "!|~ %comp%") &&
8946
!(cpp && tok->strAt(1) == ">" && Token::simpleMatch(tok->tokAt(-1), "operator")))
8947
- syntaxError(tok);
+ syntaxError(tok);
8948
if (Token::Match(tok, "%comp% {") && (!cpp || tok->str() != ">"))
8949
8950
if (Token::Match(tok, "] %name%") && (!cpp || !(tok->tokAt(1)->isKeyword() || (tok->tokAt(-1) && Token::simpleMatch(tok->tokAt(-2), "delete ["))))) {
0 commit comments