From 93f22c78cde0e28365a0845e99ccd93cf706cbd3 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 30 Apr 2024 23:05:37 +0200 Subject: Add even more 2-stage lookup tables --- include/unicode/prop.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'include/unicode/prop.h') diff --git a/include/unicode/prop.h b/include/unicode/prop.h index 840a83e..94382c0 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -565,27 +565,6 @@ enum uprop_ea : uint_least8_t { EA_W, /* Narrow */ }; -enum uprop_gcb : uint_least8_t { - GCB_XX = 0, /* Other */ - GCB_CN, /* Control */ - GCB_CR, /* CR */ - GCB_EB, /* E Base */ - GCB_EBG, /* E Base GAZ */ - GCB_EM, /* E Modifier */ - GCB_EX, /* Extend */ - GCB_GAZ, /* Glue After Zwj */ - GCB_L, /* L */ - GCB_LF, /* LF */ - GCB_LV, /* LV */ - GCB_LVT, /* LVT */ - GCB_PP, /* Prepend */ - GCB_RI, /* Regional Indicator */ - GCB_SM, /* SpacingMark */ - GCB_T, /* T */ - GCB_V, /* V */ - GCB_ZWJ, /* ZWJ */ -}; - enum [[clang::flag_enum]] uprop_gc : uint_least32_t { GC_CN = UINT32_C(1) << 0, /* Not Assigned */ GC_CC = UINT32_C(1) << 1, /* Control */ @@ -629,6 +608,27 @@ enum [[clang::flag_enum]] uprop_gc : uint_least32_t { GC_Z = GC_ZL | GC_ZP | GC_ZS, /* Separator */ }; +enum uprop_gcb : uint_least8_t { + GCB_XX = 0, /* Other */ + GCB_CN, /* Control */ + GCB_CR, /* CR */ + GCB_EB, /* E Base */ + GCB_EBG, /* E Base GAZ */ + GCB_EM, /* E Modifier */ + GCB_EX, /* Extend */ + GCB_GAZ, /* Glue After Zwj */ + GCB_L, /* L */ + GCB_LF, /* LF */ + GCB_LV, /* LV */ + GCB_LVT, /* LVT */ + GCB_PP, /* Prepend */ + GCB_RI, /* Regional Indicator */ + GCB_SM, /* SpacingMark */ + GCB_T, /* T */ + GCB_V, /* V */ + GCB_ZWJ, /* ZWJ */ +}; + enum uprop_hst : uint_least8_t { HST_NA = 0, /* Not Applicable */ HST_L, /* Leading Jamo */ -- cgit v1.2.3