astyle formatting

This commit is contained in:
Daniel Marjamäki 2016-04-22 06:01:34 +02:00
parent 335c5a9c5a
commit 00a584d8d1
3 changed files with 5 additions and 7 deletions

View File

@ -307,14 +307,12 @@ void CheckCondition::comparison()
const std::string& op(tok->str());
comparisonError(expr1, expr1->str(), num1, op, num2, op!="!=" ? false : true);
}
}
else if (Token::simpleMatch(tok, ">")) {
} else if (Token::simpleMatch(tok, ">")) {
if ((expr1->str() == "&" && (num1 <= num2))) {
const std::string& op(tok->str());
comparisonError(expr1, expr1->str(), num1, op, num2, false);
}
}
else if (Token::simpleMatch(tok, "<")) {
} else if (Token::simpleMatch(tok, "<")) {
if ((expr1->str() == "|" && (num1 >= num2))) {
const std::string& op(tok->str());
comparisonError(expr1, expr1->str(), num1, op, num2, false);