mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-21 15:30:58 +08:00
Fix typo in previous fix.
This commit is contained in:
@@ -1539,7 +1539,7 @@ bool OurReader::readArray(Token& token) {
|
|||||||
ok = readToken(currentToken);
|
ok = readToken(currentToken);
|
||||||
}
|
}
|
||||||
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
|
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
|
||||||
token.type_ != tokenArrayEnd);
|
currentToken.type_ != tokenArrayEnd);
|
||||||
if (!ok || badTokenType) {
|
if (!ok || badTokenType) {
|
||||||
return addErrorAndRecover("Missing ',' or ']' in array declaration",
|
return addErrorAndRecover("Missing ',' or ']' in array declaration",
|
||||||
currentToken, tokenArrayEnd);
|
currentToken, tokenArrayEnd);
|
||||||
|
Reference in New Issue
Block a user