aboutsummaryrefslogtreecommitdiff
path: root/gen/prop/bool-props
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-05-19 00:50:09 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-05-19 00:50:09 +0200
commitd6b1db5c14ca1e731db299748d2df9eb955c9f7c (patch)
treef35522863ce32244454dd1ba77fd3c7003395cdb /gen/prop/bool-props
parent40e7a4384bcead4db0559b30a46d4bfb0fbf3049 (diff)
Add uprop_is_ce() and uprop_is_comp_ex()
Diffstat (limited to 'gen/prop/bool-props')
-rwxr-xr-xgen/prop/bool-props17
1 files changed, 12 insertions, 5 deletions
diff --git a/gen/prop/bool-props b/gen/prop/bool-props
index a79f858..010dbf8 100755
--- a/gen/prop/bool-props
+++ b/gen/prop/bool-props
@@ -62,12 +62,17 @@ extpict=Extended_Pictographic
props4='
cwkcf=Changes_When_NFKC_Casefolded
+comp_ex=Full_Composition_Exclusion
'
props5='
bidi_m=Bidi_Mirrored
'
+props6='
+ce=Composition_Exclusion
+'
+
manual='
idst=IDS_Trinary_Operator
idsu=IDS_Unary_Operator
@@ -87,16 +92,18 @@ gen()
IFS='
'
parallel-moreutils -- $(
- for prop in $props1; do gen $prop PropList & done
- for prop in $props2; do gen $prop DerivedCoreProperties & done
- for prop in $props3; do gen $prop emoji-data & done
+ for prop in $props1; do gen $prop PropList & done
+ for prop in $props2; do gen $prop DerivedCoreProperties & done
+ for prop in $props3; do gen $prop emoji-data & done
for prop in $props4; do gen $prop DerivedNormalizationProps & done
- for prop in $props5; do gen $prop DerivedBinaryProperties & done
+ for prop in $props5; do gen $prop DerivedBinaryProperties & done
+ for prop in $props6; do gen $prop CompositionExclusions & done
)
)
printf '[[_mlib_pure]] bool uprop_is_%s(rune);\n' \
- $(printf '%s\n' $props1 $props2 $props3 $props4 $props5 | cut -d= -f1) \
+ $(printf '%s\n' $props1 $props2 $props3 $props4 $props5 $props6 \
+ | cut -d= -f1) \
| gawk '
/PROP PREDICATES END/ { no = 0 }
FILENAME != "-" && !no { print }