Skip to content

Commit 7aab5d0

Browse files
committed
...
1 parent 9ba4569 commit 7aab5d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yaml/src/main/java/com/fasterxml/jackson/dataformat/yaml/YAMLParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1078,6 +1078,6 @@ protected void _reportMismatchedEndMarker(int actCh, char expCh) throws JacksonE
10781078
TokenStreamContext ctxt = streamReadContext();
10791079
_reportError(String.format(
10801080
"Unexpected close marker '%s': expected '%c' (for %s starting at %s)",
1081-
(char) actCh, expCh, ctxt.typeDesc(), ctxt.startLocation(_sourceReference())));
1081+
(char) actCh, expCh, ctxt.typeDesc(), ctxt.startLocation(_contentReference())));
10821082
}
10831083
}

0 commit comments

Comments
 (0)