diff options
author | Neil <nyamatongwe@gmail.com> | 2021-04-27 10:04:57 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-04-27 10:04:57 +1000 |
commit | 13b6f88d9b4710e1c51b36a97c3b45a6441a7820 (patch) | |
tree | a8f7b3fa0e91986f4d0a8125a705df771ddb5f83 /scripts/GenerateCharacterCategory.py | |
parent | dd48a3b8b049ab42ac16108b428e947135f82877 (diff) | |
download | scintilla-mirror-13b6f88d9b4710e1c51b36a97c3b45a6441a7820.tar.gz |
Rename CharacterSet and CharacterCategory modules in Scintilla to CharacterType
and CharacterCategoryMap to avoid clashes with Lexilla when building an
executable that includes both.
Diffstat (limited to 'scripts/GenerateCharacterCategory.py')
-rw-r--r-- | scripts/GenerateCharacterCategory.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/GenerateCharacterCategory.py b/scripts/GenerateCharacterCategory.py index 271381064..806dea2fe 100644 --- a/scripts/GenerateCharacterCategory.py +++ b/scripts/GenerateCharacterCategory.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 -# Script to generate CharacterCategory.cxx from Python's Unicode data +# Script to generate scintilla/src/CharacterCategoryMap.cxx and lexilla/lexlib/CharacterCategory.cxx +# from Python's Unicode data # Should be run rarely when a Python with a new version of Unicode data is available. # Requires Python 3.3 or later # Should not be run with old versions of Python. @@ -45,8 +46,8 @@ def updateCharacterCategory(filename): scintillaDirectory = pathlib.Path(__file__).resolve().parent.parent -categories = findCategories(scintillaDirectory / "src" / "CharacterCategory.h") +categories = findCategories(scintillaDirectory / "src" / "CharacterCategoryMap.h") -updateCharacterCategory(scintillaDirectory / "src" / "CharacterCategory.cxx") +updateCharacterCategory(scintillaDirectory / "src" / "CharacterCategoryMap.cxx") updateCharacterCategory(scintillaDirectory.parent / "lexilla" / "lexlib" / "CharacterCategory.cxx") |