diff options
Diffstat (limited to '403unicode.mu')
-rw-r--r-- | 403unicode.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/403unicode.mu b/403unicode.mu index 73f44a58..e1bfba3f 100644 --- a/403unicode.mu +++ b/403unicode.mu @@ -136,10 +136,10 @@ fn to-grapheme in: code-point -> _/eax: grapheme { break $to-grapheme:compute-length } # more than 4 bytes: unsupported - # TODO: print error message to stderr compare c, 0x1fffff { break-if-> + abort "unsupported code point" return 0 } } @@ -276,7 +276,7 @@ fn read-grapheme in: (addr stream byte) -> _/eax: grapheme { num-trailers <- copy 3 break $read-grapheme:compute-length } - # TODO: print error message + abort "utf-8 encodings larger than 4 bytes are not yet supported" return 0 } # prepend trailer bytes |