Skip to content

Commit 93ef9d8

Browse files
Update tokenize.cpp
1 parent 79ca30a commit 93ef9d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8995,7 +8995,7 @@ void Tokenizer::findGarbageCode() const
89958995
syntaxError(tok);
89968996
if (Token::Match(tok, "[;([{] %comp%|%oror%|%or%|%|/"))
89978997
syntaxError(tok);
8998-
if (Token::Match(tok, "%cop%|= ]") && !Token::simpleMatch(tok, "*") && !(cpp && Token::Match(tok->previous(), "%type%|[|,|%num% &|=|> ]")))
8998+
if (Token::Match(tok, "%cop%|= ]") && !Token::simpleMatch(tok, "*") && !(cpp && Token::Match(tok->previous(), "%type%|[|,|<|%num% &|=|> ]")))
89998999
syntaxError(tok);
90009000
if (Token::Match(tok, "[+-] [;,)]}]") && !(cpp && Token::simpleMatch(tok->previous(), "operator")))
90019001
syntaxError(tok);

0 commit comments

Comments
 (0)