mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-21 00:11:50 +02:00
Fix typo in previous fix.
This commit is contained in:
parent
84ca7d6f0b
commit
a5d7c714b1
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user