aboutsummaryrefslogtreecommitdiff
path: root/gen/prop/bool-props
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-04-28 06:15:55 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-04-28 06:15:55 +0200
commit4ea2dd117e656f950c41f9954bd593c313e34ee2 (patch)
treed239c3426240bb886f129bccf901b0fc970c6073 /gen/prop/bool-props
parent50787ecf06854f99eaf4b966abd11d23554bd221 (diff)
Implement boolean props using 2-stage lookup
Diffstat (limited to 'gen/prop/bool-props')
-rwxr-xr-xgen/prop/bool-props5
1 files changed, 2 insertions, 3 deletions
diff --git a/gen/prop/bool-props b/gen/prop/bool-props
index b98b9d8..0a8330f 100755
--- a/gen/prop/bool-props
+++ b/gen/prop/bool-props
@@ -79,9 +79,8 @@ ri=Regional_Indicator
gen()
{
local p=${1%%=*}
- gawk -M -v prop=${1#*=} -v short=$p \
- -f gen/prop/bool-props.awk data/$2 \
- >lib/unicode/prop/uprop_is_${p}.c
+ gen/prop/bool-props.py ${1#*=} $p data/$2 \
+ >lib/unicode/prop/uprop_is_$p.c
printf 'DONE uprop_is_%s()\n' $p >&2
}