aboutsummaryrefslogtreecommitdiffstats
path: root/libcharconv_latin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcharconv_latin.c')
-rw-r--r--libcharconv_latin.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libcharconv_latin.c b/libcharconv_latin.c
index dabad30..1961b18 100644
--- a/libcharconv_latin.c
+++ b/libcharconv_latin.c
@@ -658,6 +658,17 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz
case UINT32_C(0x2E35): c = UINT32_C(0x003B); goto conv;
case UINT32_C(0x1F12F): c1 = '('; c2 = 'C'; c3 = ')'; goto conv3;
+ /* tally marks */
+ case UINT32_C(0x13D77): c1 = '1'; goto conv1;
+ case UINT32_C(0x13D78): c1 = '5'; goto conv1;
+
+ /* ideographic tally marks */
+ case UINT32_C(0x13D72): c1 = '1'; goto conv1;
+ case UINT32_C(0x13D73): c1 = '2'; goto conv1;
+ case UINT32_C(0x13D74): c1 = '3'; goto conv1;
+ case UINT32_C(0x13D75): c1 = '4'; goto conv1;
+ case UINT32_C(0x13D76): c1 = '5'; goto conv1;
+
default:
no_match:
*n += clen;