mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-04-22 00:30:11 +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);
|
||||
}
|
||||
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
|
||||
token.type_ != tokenArrayEnd);
|
||||
currentToken.type_ != tokenArrayEnd);
|
||||
if (!ok || badTokenType) {
|
||||
return addErrorAndRecover("Missing ',' or ']' in array declaration",
|
||||
currentToken, tokenArrayEnd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user