From 7c4b779797c4297e028ddc2ee5243a8156ebba9b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Jan 2026 23:24:26 +0100 Subject: Improve go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcharconv_latin.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libcharconv_latin.c') diff --git a/libcharconv_latin.c b/libcharconv_latin.c index 7c70318..5179388 100644 --- a/libcharconv_latin.c +++ b/libcharconv_latin.c @@ -358,13 +358,15 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz case UINT32_C(0x26C9): c = (uint_least32_t)'W'; goto conv; case UINT32_C(0x26CA): c = (uint_least32_t)'B'; goto conv; + /* go (common) */ + case UINT32_C(0x25CF): c = (uint_least32_t)'b'; goto conv; + case UINT32_C(0x25CB): c = (uint_least32_t)'w'; goto conv; + /* go (white) */ - case UINT32_C(0x25CB): c = (uint_least32_t)'0'; goto conv; case UINT32_C(0x2686): c = (uint_least32_t)'1'; goto conv; case UINT32_C(0x2687): c = (uint_least32_t)'2'; goto conv; /* go (black) */ - case UINT32_C(0x25CF): c = (uint_least32_t)'0'; goto conv; case UINT32_C(0x2688): c = (uint_least32_t)'1'; goto conv; case UINT32_C(0x2689): c = (uint_least32_t)'2'; goto conv; -- cgit v1.2.3-70-g09d2