From 4ea2dd117e656f950c41f9954bd593c313e34ee2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 28 Apr 2024 06:15:55 +0200 Subject: Implement boolean props using 2-stage lookup --- gen/prop/bool-props | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gen/prop/bool-props') 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 } -- cgit v1.2.3