291 lines
6.8 KiB
C
291 lines
6.8 KiB
C
#ifdef UNICODE_GENERAL_CATEGORY
|
|
DEF(Cn, "Unassigned") /* must be zero */
|
|
DEF(Lu, "Uppercase_Letter")
|
|
DEF(Ll, "Lowercase_Letter")
|
|
DEF(Lt, "Titlecase_Letter")
|
|
DEF(Lm, "Modifier_Letter")
|
|
DEF(Lo, "Other_Letter")
|
|
DEF(Mn, "Nonspacing_Mark")
|
|
DEF(Mc, "Spacing_Mark")
|
|
DEF(Me, "Enclosing_Mark")
|
|
DEF(Nd, "Decimal_Number,digit")
|
|
DEF(Nl, "Letter_Number")
|
|
DEF(No, "Other_Number")
|
|
DEF(Sm, "Math_Symbol")
|
|
DEF(Sc, "Currency_Symbol")
|
|
DEF(Sk, "Modifier_Symbol")
|
|
DEF(So, "Other_Symbol")
|
|
DEF(Pc, "Connector_Punctuation")
|
|
DEF(Pd, "Dash_Punctuation")
|
|
DEF(Ps, "Open_Punctuation")
|
|
DEF(Pe, "Close_Punctuation")
|
|
DEF(Pi, "Initial_Punctuation")
|
|
DEF(Pf, "Final_Punctuation")
|
|
DEF(Po, "Other_Punctuation")
|
|
DEF(Zs, "Space_Separator")
|
|
DEF(Zl, "Line_Separator")
|
|
DEF(Zp, "Paragraph_Separator")
|
|
DEF(Cc, "Control,cntrl")
|
|
DEF(Cf, "Format")
|
|
DEF(Cs, "Surrogate")
|
|
DEF(Co, "Private_Use")
|
|
/* synthetic properties */
|
|
DEF(LC, "Cased_Letter")
|
|
DEF(L, "Letter")
|
|
DEF(M, "Mark,Combining_Mark")
|
|
DEF(N, "Number")
|
|
DEF(S, "Symbol")
|
|
DEF(P, "Punctuation,punct")
|
|
DEF(Z, "Separator")
|
|
DEF(C, "Other")
|
|
#endif
|
|
|
|
#ifdef UNICODE_SCRIPT
|
|
/* scripts aliases names in PropertyValueAliases.txt */
|
|
DEF(Unknown, "Zzzz")
|
|
DEF(Adlam, "Adlm")
|
|
DEF(Ahom, "Ahom")
|
|
DEF(Anatolian_Hieroglyphs, "Hluw")
|
|
DEF(Arabic, "Arab")
|
|
DEF(Armenian, "Armn")
|
|
DEF(Avestan, "Avst")
|
|
DEF(Balinese, "Bali")
|
|
DEF(Bamum, "Bamu")
|
|
DEF(Bassa_Vah, "Bass")
|
|
DEF(Batak, "Batk")
|
|
DEF(Bengali, "Beng")
|
|
DEF(Bhaiksuki, "Bhks")
|
|
DEF(Bopomofo, "Bopo")
|
|
DEF(Brahmi, "Brah")
|
|
DEF(Braille, "Brai")
|
|
DEF(Buginese, "Bugi")
|
|
DEF(Buhid, "Buhd")
|
|
DEF(Canadian_Aboriginal, "Cans")
|
|
DEF(Carian, "Cari")
|
|
DEF(Caucasian_Albanian, "Aghb")
|
|
DEF(Chakma, "Cakm")
|
|
DEF(Cham, "Cham")
|
|
DEF(Cherokee, "Cher")
|
|
DEF(Chorasmian, "Chrs")
|
|
DEF(Common, "Zyyy")
|
|
DEF(Coptic, "Copt,Qaac")
|
|
DEF(Cuneiform, "Xsux")
|
|
DEF(Cypriot, "Cprt")
|
|
DEF(Cyrillic, "Cyrl")
|
|
DEF(Cypro_Minoan, "Cpmn")
|
|
DEF(Deseret, "Dsrt")
|
|
DEF(Devanagari, "Deva")
|
|
DEF(Dives_Akuru, "Diak")
|
|
DEF(Dogra, "Dogr")
|
|
DEF(Duployan, "Dupl")
|
|
DEF(Egyptian_Hieroglyphs, "Egyp")
|
|
DEF(Elbasan, "Elba")
|
|
DEF(Elymaic, "Elym")
|
|
DEF(Ethiopic, "Ethi")
|
|
DEF(Georgian, "Geor")
|
|
DEF(Glagolitic, "Glag")
|
|
DEF(Gothic, "Goth")
|
|
DEF(Grantha, "Gran")
|
|
DEF(Greek, "Grek")
|
|
DEF(Gujarati, "Gujr")
|
|
DEF(Gunjala_Gondi, "Gong")
|
|
DEF(Gurmukhi, "Guru")
|
|
DEF(Han, "Hani")
|
|
DEF(Hangul, "Hang")
|
|
DEF(Hanifi_Rohingya, "Rohg")
|
|
DEF(Hanunoo, "Hano")
|
|
DEF(Hatran, "Hatr")
|
|
DEF(Hebrew, "Hebr")
|
|
DEF(Hiragana, "Hira")
|
|
DEF(Imperial_Aramaic, "Armi")
|
|
DEF(Inherited, "Zinh,Qaai")
|
|
DEF(Inscriptional_Pahlavi, "Phli")
|
|
DEF(Inscriptional_Parthian, "Prti")
|
|
DEF(Javanese, "Java")
|
|
DEF(Kaithi, "Kthi")
|
|
DEF(Kannada, "Knda")
|
|
DEF(Katakana, "Kana")
|
|
DEF(Kawi, "Kawi")
|
|
DEF(Kayah_Li, "Kali")
|
|
DEF(Kharoshthi, "Khar")
|
|
DEF(Khmer, "Khmr")
|
|
DEF(Khojki, "Khoj")
|
|
DEF(Khitan_Small_Script, "Kits")
|
|
DEF(Khudawadi, "Sind")
|
|
DEF(Lao, "Laoo")
|
|
DEF(Latin, "Latn")
|
|
DEF(Lepcha, "Lepc")
|
|
DEF(Limbu, "Limb")
|
|
DEF(Linear_A, "Lina")
|
|
DEF(Linear_B, "Linb")
|
|
DEF(Lisu, "Lisu")
|
|
DEF(Lycian, "Lyci")
|
|
DEF(Lydian, "Lydi")
|
|
DEF(Makasar, "Maka")
|
|
DEF(Mahajani, "Mahj")
|
|
DEF(Malayalam, "Mlym")
|
|
DEF(Mandaic, "Mand")
|
|
DEF(Manichaean, "Mani")
|
|
DEF(Marchen, "Marc")
|
|
DEF(Masaram_Gondi, "Gonm")
|
|
DEF(Medefaidrin, "Medf")
|
|
DEF(Meetei_Mayek, "Mtei")
|
|
DEF(Mende_Kikakui, "Mend")
|
|
DEF(Meroitic_Cursive, "Merc")
|
|
DEF(Meroitic_Hieroglyphs, "Mero")
|
|
DEF(Miao, "Plrd")
|
|
DEF(Modi, "Modi")
|
|
DEF(Mongolian, "Mong")
|
|
DEF(Mro, "Mroo")
|
|
DEF(Multani, "Mult")
|
|
DEF(Myanmar, "Mymr")
|
|
DEF(Nabataean, "Nbat")
|
|
DEF(Nag_Mundari, "Nagm")
|
|
DEF(Nandinagari, "Nand")
|
|
DEF(New_Tai_Lue, "Talu")
|
|
DEF(Newa, "Newa")
|
|
DEF(Nko, "Nkoo")
|
|
DEF(Nushu, "Nshu")
|
|
DEF(Nyiakeng_Puachue_Hmong, "Hmnp")
|
|
DEF(Ogham, "Ogam")
|
|
DEF(Ol_Chiki, "Olck")
|
|
DEF(Old_Hungarian, "Hung")
|
|
DEF(Old_Italic, "Ital")
|
|
DEF(Old_North_Arabian, "Narb")
|
|
DEF(Old_Permic, "Perm")
|
|
DEF(Old_Persian, "Xpeo")
|
|
DEF(Old_Sogdian, "Sogo")
|
|
DEF(Old_South_Arabian, "Sarb")
|
|
DEF(Old_Turkic, "Orkh")
|
|
DEF(Old_Uyghur, "Ougr")
|
|
DEF(Oriya, "Orya")
|
|
DEF(Osage, "Osge")
|
|
DEF(Osmanya, "Osma")
|
|
DEF(Pahawh_Hmong, "Hmng")
|
|
DEF(Palmyrene, "Palm")
|
|
DEF(Pau_Cin_Hau, "Pauc")
|
|
DEF(Phags_Pa, "Phag")
|
|
DEF(Phoenician, "Phnx")
|
|
DEF(Psalter_Pahlavi, "Phlp")
|
|
DEF(Rejang, "Rjng")
|
|
DEF(Runic, "Runr")
|
|
DEF(Samaritan, "Samr")
|
|
DEF(Saurashtra, "Saur")
|
|
DEF(Sharada, "Shrd")
|
|
DEF(Shavian, "Shaw")
|
|
DEF(Siddham, "Sidd")
|
|
DEF(SignWriting, "Sgnw")
|
|
DEF(Sinhala, "Sinh")
|
|
DEF(Sogdian, "Sogd")
|
|
DEF(Sora_Sompeng, "Sora")
|
|
DEF(Soyombo, "Soyo")
|
|
DEF(Sundanese, "Sund")
|
|
DEF(Syloti_Nagri, "Sylo")
|
|
DEF(Syriac, "Syrc")
|
|
DEF(Tagalog, "Tglg")
|
|
DEF(Tagbanwa, "Tagb")
|
|
DEF(Tai_Le, "Tale")
|
|
DEF(Tai_Tham, "Lana")
|
|
DEF(Tai_Viet, "Tavt")
|
|
DEF(Takri, "Takr")
|
|
DEF(Tamil, "Taml")
|
|
DEF(Tangut, "Tang")
|
|
DEF(Telugu, "Telu")
|
|
DEF(Thaana, "Thaa")
|
|
DEF(Thai, "Thai")
|
|
DEF(Tibetan, "Tibt")
|
|
DEF(Tifinagh, "Tfng")
|
|
DEF(Tirhuta, "Tirh")
|
|
DEF(Tangsa, "Tnsa")
|
|
DEF(Toto, "Toto")
|
|
DEF(Ugaritic, "Ugar")
|
|
DEF(Vai, "Vaii")
|
|
DEF(Vithkuqi, "Vith")
|
|
DEF(Wancho, "Wcho")
|
|
DEF(Warang_Citi, "Wara")
|
|
DEF(Yezidi, "Yezi")
|
|
DEF(Yi, "Yiii")
|
|
DEF(Zanabazar_Square, "Zanb")
|
|
#endif
|
|
|
|
#ifdef UNICODE_PROP_LIST
|
|
/* Prop list not exported to regexp */
|
|
DEF(Hyphen, "")
|
|
DEF(Other_Math, "")
|
|
DEF(Other_Alphabetic, "")
|
|
DEF(Other_Lowercase, "")
|
|
DEF(Other_Uppercase, "")
|
|
DEF(Other_Grapheme_Extend, "")
|
|
DEF(Other_Default_Ignorable_Code_Point, "")
|
|
DEF(Other_ID_Start, "")
|
|
DEF(Other_ID_Continue, "")
|
|
DEF(Prepended_Concatenation_Mark, "")
|
|
/* additional computed properties for smaller tables */
|
|
DEF(ID_Continue1, "")
|
|
DEF(XID_Start1, "")
|
|
DEF(XID_Continue1, "")
|
|
DEF(Changes_When_Titlecased1, "")
|
|
DEF(Changes_When_Casefolded1, "")
|
|
DEF(Changes_When_NFKC_Casefolded1, "")
|
|
|
|
/* Prop list exported to JS */
|
|
DEF(ASCII_Hex_Digit, "AHex")
|
|
DEF(Bidi_Control, "Bidi_C")
|
|
DEF(Dash, "")
|
|
DEF(Deprecated, "Dep")
|
|
DEF(Diacritic, "Dia")
|
|
DEF(Extender, "Ext")
|
|
DEF(Hex_Digit, "Hex")
|
|
DEF(IDS_Binary_Operator, "IDSB")
|
|
DEF(IDS_Trinary_Operator, "IDST")
|
|
DEF(Ideographic, "Ideo")
|
|
DEF(Join_Control, "Join_C")
|
|
DEF(Logical_Order_Exception, "LOE")
|
|
DEF(Noncharacter_Code_Point, "NChar")
|
|
DEF(Pattern_Syntax, "Pat_Syn")
|
|
DEF(Pattern_White_Space, "Pat_WS")
|
|
DEF(Quotation_Mark, "QMark")
|
|
DEF(Radical, "")
|
|
DEF(Regional_Indicator, "RI")
|
|
DEF(Sentence_Terminal, "STerm")
|
|
DEF(Soft_Dotted, "SD")
|
|
DEF(Terminal_Punctuation, "Term")
|
|
DEF(Unified_Ideograph, "UIdeo")
|
|
DEF(Variation_Selector, "VS")
|
|
DEF(White_Space, "space")
|
|
DEF(Bidi_Mirrored, "Bidi_M")
|
|
DEF(Emoji, "")
|
|
DEF(Emoji_Component, "EComp")
|
|
DEF(Emoji_Modifier, "EMod")
|
|
DEF(Emoji_Modifier_Base, "EBase")
|
|
DEF(Emoji_Presentation, "EPres")
|
|
DEF(Extended_Pictographic, "ExtPict")
|
|
DEF(Default_Ignorable_Code_Point, "DI")
|
|
DEF(ID_Start, "IDS")
|
|
DEF(Case_Ignorable, "CI")
|
|
|
|
/* other binary properties */
|
|
DEF(ASCII,"")
|
|
DEF(Alphabetic, "Alpha")
|
|
DEF(Any, "")
|
|
DEF(Assigned,"")
|
|
DEF(Cased, "")
|
|
DEF(Changes_When_Casefolded, "CWCF")
|
|
DEF(Changes_When_Casemapped, "CWCM")
|
|
DEF(Changes_When_Lowercased, "CWL")
|
|
DEF(Changes_When_NFKC_Casefolded, "CWKCF")
|
|
DEF(Changes_When_Titlecased, "CWT")
|
|
DEF(Changes_When_Uppercased, "CWU")
|
|
DEF(Grapheme_Base, "Gr_Base")
|
|
DEF(Grapheme_Extend, "Gr_Ext")
|
|
DEF(ID_Continue, "IDC")
|
|
DEF(Lowercase, "Lower")
|
|
DEF(Math, "")
|
|
DEF(Uppercase, "Upper")
|
|
DEF(XID_Continue, "XIDC")
|
|
DEF(XID_Start, "XIDS")
|
|
|
|
/* internal tables with index */
|
|
DEF(Cased1, "")
|
|
|
|
#endif
|