Skip to content

Commit

Permalink
Ever newer parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed Jan 14, 2024
1 parent 215422f commit 2a27ec4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public RadicalStroke(String unicodeVersion) {
// Use only the first radical-stroke value if there are multiple.
int delim = rs.indexOf(' '); // value separator in Unihan data files
if (delim < 0) {
delim = rs.indexOf('|'); // The new parser rewrites multi-values with a | separator.
delim = rs.indexOf(','); // The new parser rewrites multi-values with a , separator.
if (delim < 0) {
delim = rs.length();
}
Expand Down

0 comments on commit 2a27ec4

Please sign in to comment.