Apply the formatting specified in .clang-format file.

This commit is contained in:
Marian Klymov
2018-06-02 20:27:31 +03:00
parent fc20134c92
commit 84ca7d6f0b
2 changed files with 6 additions and 6 deletions

View File

@@ -542,8 +542,8 @@ bool Reader::readArray(Token& token) {
while (currentToken.type_ == tokenComment && ok) {
ok = readToken(currentToken);
}
bool badTokenType =
(currentToken.type_ != tokenArraySeparator && currentToken.type_ != tokenArrayEnd);
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
currentToken.type_ != tokenArrayEnd);
if (!ok || badTokenType) {
return addErrorAndRecover("Missing ',' or ']' in array declaration",
currentToken, tokenArrayEnd);
@@ -1538,8 +1538,8 @@ bool OurReader::readArray(Token& token) {
while (currentToken.type_ == tokenComment && ok) {
ok = readToken(currentToken);
}
bool badTokenType =
(currentToken.type_ != tokenArraySeparator && token.type_ != tokenArrayEnd);
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
token.type_ != tokenArrayEnd);
if (!ok || badTokenType) {
return addErrorAndRecover("Missing ',' or ']' in array declaration",
currentToken, tokenArrayEnd);