We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4e4f59 commit 492b85eCopy full SHA for 492b85e
1 file changed
lib/tokenize.cpp
@@ -8765,6 +8765,8 @@ void Tokenizer::findGarbageCode() const
8765
syntaxError(tok, prev == tok->previous() ? (prev->str() + " " + tok->str()) : (prev->str() + " .. " + tok->str()));
8766
}
8767
8768
+ else if (tok->isStandardType() && tok->next() && tok->str() == tok->strAt(1) && tok->str() != "long")
8769
+ syntaxError(tok);
8770
8771
8772
// invalid struct declaration
0 commit comments