diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 22837596f..f942bdaf1 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -1079,7 +1079,7 @@ void TokenList::validateAst() throw InternalError(tok, "AST broken: endless recursion from '" + tok->str() + "'", InternalError::SYNTAX); if (astTokens.find(parent)!= astTokens.end()) { break; - } + } astTokens.insert(parent); } }