]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
contrib: Add DerivedGeneralCategory.txt to comment in libstdc++ script
authorJonathan Wakely <jwakely@redhat.com>
Mon, 22 Sep 2025 10:13:01 +0000 (11:13 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 22 Sep 2025 17:19:32 +0000 (18:19 +0100)
contrib/ChangeLog:

* unicode/gen_libstdcxx_unicode_data.py: Update comment at the
top of the file to mention DerivedGeneralCategory.txt
prerequisite.

contrib/unicode/gen_libstdcxx_unicode_data.py

index c50884d91dea100b1a01393a68ce2abb90215363..d8ebe71d6a01fea1baec53c72808eeaa74ffa2cb 100755 (executable)
@@ -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
 # for all code points.
 for line in open("DerivedGeneralCategory.txt", "r"):
     # Example lines: