parent
a30727d63b
commit
511d14a051
|
@ -9897,8 +9897,7 @@ const Token *Tokenizer::findSQLBlockEnd(const Token *tokSQLStart) const
|
|||
if (Token::simpleMatch(tok->tokAt(-2), "END - __CPPCHECK_EMBEDDED_SQL_EXEC__ ;"))
|
||||
return tok->next();
|
||||
return tokLastEnd;
|
||||
}
|
||||
else if (Token::Match(tok, "{|}|==|&&|!|&|^|<<|>>|++|+=|-=|/=|*=|>>=|<<=|->|::|~"))
|
||||
} else if (Token::Match(tok, "{|}|==|&&|!|&|^|<<|>>|++|+=|-=|/=|*=|>>=|<<=|->|::|~"))
|
||||
break; // We are obviously outside the SQL block
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue