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_go_white.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcharconv_go_white.c') diff --git a/libcharconv_go_white.c b/libcharconv_go_white.c index 163a938..43509b2 100644 --- a/libcharconv_go_white.c +++ b/libcharconv_go_white.c @@ -9,6 +9,10 @@ libcharconv_go_white(const char *s, size_t slen, size_t *n, uint_least32_t *cp, *n = 0; for (; slen--; s++) { switch (*s) { + case 'b': + case 'B': c = UINT32_C(0x25CF); goto conv; + case 'w': + case 'W': case '0': c = UINT32_C(0x25CB); goto conv; case '1': c = UINT32_C(0x2686); goto conv; case '2': c = UINT32_C(0x2687); goto conv; -- cgit v1.2.3-70-g09d2