Skip to content

Commit f319551

Browse files
committed
Fix
1 parent 07cc7c3 commit f319551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenlist.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ static Token * createAstAtToken(Token *tok)
17881788
}
17891789

17901790
if ((Token::Match(tok, "%type% %name%|*|&|&&|::") && !Token::Match(tok, "return|new|delete")) ||
1791-
(Token::Match(tok, ":: %tyoe%") && !tok->next()->isKeyword())) {
1791+
(Token::Match(tok, ":: %type%") && !tok->next()->isKeyword())) {
17921792
int typecount = tok->str() == "::" ? 1 : 0;
17931793
Token *typetok = tok;
17941794
while (Token::Match(typetok, "%type%|::|*|&|&&|<")) {

0 commit comments

Comments
 (0)