aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-14 23:03:25 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-14 23:03:25 +0200
commitfa481efe8e777bae2c2cca3649176d1ac7da6413 (patch)
tree40a32e492594310b490ed1f301817b72f982d617 /include
parent5984a3211cc8a214305b9acbff07b3f3b78cac09 (diff)
Reorganize some things
Diffstat (limited to 'include')
-rw-r--r--include/unicode/prop.h27
1 files changed, 16 insertions, 11 deletions
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 {