summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibUnicode/Forward.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-08-03 17:11:19 -0400
committerLinus Groh <mail@linusgroh.de>2021-08-04 13:50:32 +0100
commitf5c1bbc00bceed95f67d612735991fd90586a26e (patch)
tree642548e868a8cdb1c202ae8fccf3831d8bf047c9 /Userland/Libraries/LibUnicode/Forward.h
parent619c924042d5e9b466467b40dbdc2952d37d8519 (diff)
downloadserenity-f5c1bbc00bceed95f67d612735991fd90586a26e.zip
LibUnicode: Parse UCD Scripts.txt and generate as a Unicode property
There are a couple of minor nuances with parsing script values, compared to other properties. In Scripts.txt, the UCD file lists the full name of each script; other properties, like General Category, list the shorter name in their primary files. This means that the aliases listed in PropertyValueAliases.txt are reversed for script values.
Diffstat (limited to 'Userland/Libraries/LibUnicode/Forward.h')
-rw-r--r--Userland/Libraries/LibUnicode/Forward.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibUnicode/Forward.h b/Userland/Libraries/LibUnicode/Forward.h
index 6f6a939760..2d2a94f616 100644
--- a/Userland/Libraries/LibUnicode/Forward.h
+++ b/Userland/Libraries/LibUnicode/Forward.h
@@ -14,6 +14,7 @@ enum class Condition;
enum class GeneralCategory : u64;
enum class Locale;
enum class Property : u64;
+enum class Script;
enum class WordBreakProperty;
struct SpecialCasing;