From fa481efe8e777bae2c2cca3649176d1ac7da6413 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 14 Apr 2024 23:03:25 +0200 Subject: Reorganize some things --- include/unicode/prop.h | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) (limited to 'include') diff --git a/include/unicode/prop.h b/include/unicode/prop.h index 76d9200..8def75b 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -13,23 +13,28 @@ struct rview { }; struct lcctx { - bool az_or_tr : 1; /* Azeri or Turkish */ - bool az_tr_after_I : 1; /* After ‘I’ in Azeri or Turkish */ - bool az_tr_not_before_dot : 1; /* Not before a dot in Azeri or Turkish */ - bool eow : 1; /* End of word */ - bool lt : 1; /* Lithuanian */ - bool lt_acc_after : 1; /* Accent after ‘i’ or ‘j’ in Lithuanian */ + bool az_or_tr : 1; /* Azeri or Turkish */ + bool lt : 1; /* Lithuanian */ + + bool after_I : 1; /* After ‘I’ */ + bool before_acc : 1; /* Before accent on ‘i’ or ‘j’ in Lithuanian */ + bool before_dot : 1; /* Before U+0307 */ + bool eow : 1; /* End of word */ }; struct tcctx { - bool az_or_tr : 1; /* Azeri or Turkish */ - bool lt_after_i : 1; /* After ‘i’ in Lithuanian */ + bool az_or_tr : 1; /* Azeri or Turkish */ + bool lt : 1; /* Lithuanian */ + + bool after_i : 1; /* After ‘i’ */ }; struct ucctx { - bool az_or_tr : 1; /* Azeri or Turkish */ - bool cap_eszett : 1; /* Use capital eszett */ - bool lt_after_i : 1; /* After ‘i’ in Lithuanian */ + bool az_or_tr : 1; /* Azeri or Turkish */ + bool lt : 1; /* Lithuanian */ + + bool ẞ : 1; /* Uppercase ‘ß’ into ‘ẞ’ (instead of ‘SS’) */ + bool after_i : 1; /* After ‘i’ */ }; enum uprop_bpt { -- cgit v1.2.3