[ci skip]
This commit is contained in:
Daniel Marjamäki 2017-11-05 17:56:24 +01:00
parent a30727d63b
commit 511d14a051
3 changed files with 4 additions and 5 deletions

0
cfg/embedded_sql.cfg Executable file → Normal file
View File

View File

@ -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
}