Skip to content

Commit a5d7c71

Browse files
committed
Fix typo in previous fix.
1 parent 84ca7d6 commit a5d7c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib_json/json_reader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ bool OurReader::readArray(Token& token) {
15391539
ok = readToken(currentToken);
15401540
}
15411541
bool badTokenType = (currentToken.type_ != tokenArraySeparator &&
1542-
token.type_ != tokenArrayEnd);
1542+
currentToken.type_ != tokenArrayEnd);
15431543
if (!ok || badTokenType) {
15441544
return addErrorAndRecover("Missing ',' or ']' in array declaration",
15451545
currentToken, tokenArrayEnd);

0 commit comments

Comments
 (0)