On Tue, 23 Sept 2025 at 05:54, Daniel Krügler <[email protected]> wrote:
>
> Am Mo., 22. Sept. 2025 um 19:23 Uhr schrieb Jonathan Wakely
> <[email protected]>:
>>
>> contrib/ChangeLog:
>>
>> * unicode/gen_libstdcxx_unicode_data.py: Update comment at the
>> top of the file to mention DerivedGeneralCategory.txt
>> prerequisite.
>> ---
>>
>> Pushed to trunk.
>>
>> contrib/unicode/gen_libstdcxx_unicode_data.py | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/contrib/unicode/gen_libstdcxx_unicode_data.py
>> b/contrib/unicode/gen_libstdcxx_unicode_data.py
>> index c50884d91dea..d8ebe71d6a01 100755
>> --- a/contrib/unicode/gen_libstdcxx_unicode_data.py
>> +++ b/contrib/unicode/gen_libstdcxx_unicode_data.py
>> @@ -23,6 +23,7 @@
>> # ftp://ftp.unicode.org/Public/UNIDATA/DerivedCoreProperties.txt
>> # ftp://ftp.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakProperty.txt
>> # ftp://ftp.unicode.org/Public/UNIDATA/emoji/emoji-data.txt
>> +# ftp://ftp.unicode.org/Public/UNIDATA/extracted/DerivedGeneralCategory.txt
>> # Then run this script and save the output to
>> # ../../libstdc++-v3/include/bits/unicode-data.h
>>
>> @@ -148,7 +149,7 @@ escaped_general_categories = {
>> "Cc", "Cf", "Cs", "Co", "Cn",
>> }
>>
>> -# Extract General_Category and detrmine if it should be escaped
>> +# Extract General_Category and detrmine if it should be escaped
>
>
> Should the typo "detrmine" be corrected as drive-by fix?
Yes, thanks - fixed.
>
> - Daniel
>
>>
>> # for all code points.
>> for line in open("DerivedGeneralCategory.txt", "r"):
>> # Example lines:
>> --
>> 2.51.0
>>