Skip to content

Commit e42c952

Browse files
committed
Start work on fixing #1173 issues
1 parent 1928b07 commit e42c952

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/fasterxml/jackson/core/json/ReaderBasedJsonParser.java

+1
Original file line numberDiff line numberDiff line change
@@ -2387,6 +2387,7 @@ private final int _skipColon2(boolean gotColon) throws IOException
23872387
return i;
23882388
}
23892389
if (i != INT_COLON) {
2390+
--_inputPtr; // for correct error reporting
23902391
_reportUnexpectedChar(i, "was expecting a colon to separate field name and value");
23912392
}
23922393
gotColon = true;

0 commit comments

Comments
 (0)