Skip to content

Commit

Permalink
Removed most long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Jan 24, 2025
1 parent 92c0ee2 commit 5ab9e3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/hieroglyph.Unicode.scala
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ object Unicode:
@tailrec
def recur(stream: Stream[Text], map: TreeMap[CharRange, EaWidth]): TreeMap[CharRange, EaWidth] =
stream match
case r"${Hex(from)}([0-9A-F]{4})\.\.${Hex(to)}([0-9A-F]{4});${EaWidth(w)}([AFHNW]a?).*" #:: tail =>
case r"${Hex(from)}([0-9A-F]{4})\.\.${Hex(to)}([0-9A-F]{4});${EaWidth(w)}([AFHNW]a?).*"
#:: tail =>
recur(tail, map.append(CharRange(from, to), w))

case r"${Hex(from)}([0-9A-F]{4});${EaWidth(w)}([AFHNW]a?).*" #:: tail =>
Expand Down

0 comments on commit 5ab9e3b

Please sign in to comment.