Fix typo in previous fix.

This commit is contained in:
Marian Klymov 2018-06-02 21:52:45 +03:00
parent 84ca7d6f0b
commit a5d7c714b1

View File

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