Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Scherer <[email protected]>
  • Loading branch information
eggrobin and markusicu authored Aug 9, 2024
1 parent 619428d commit 708a46d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2052,6 +2052,7 @@ public static UnicodeSet parseUnicodeSet(String source, ParsePosition pp)
' ');
});
for (int p : badEscapePositions) {
// Simplest way to throw an exception for only the first list element.
throw new ParseException("No character matching \\N escape", initialPosition + p);
}
var patchedParsePosition = new ParsePosition(0);
Expand Down

0 comments on commit 708a46d

Please sign in to comment.