|
2 | 2 | //
|
3 | 3 | // This source file is part of the Swift.org open source project
|
4 | 4 | //
|
5 |
| -// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors |
| 5 | +// Copyright (c) 2020 Apple Inc. and the Swift project authors |
6 | 6 | // Licensed under Apache License v2.0 with Runtime Library Exception
|
7 | 7 | //
|
8 | 8 | // See https://swift.org/LICENSE.txt for license information
|
9 | 9 | // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
10 | 10 | //
|
11 | 11 | //===----------------------------------------------------------------------===//
|
12 | 12 |
|
13 |
| -// CONFUSABLE(CONFUSABLE_POINT, BASEPOINT) |
| 13 | +//////////////////////////////////////////////////////////////////////////////// |
| 14 | +// WARNING: This file is manually generated from |
| 15 | +// utils/UnicodeData/confusables.txt and should not be directly modified. |
| 16 | +// Run utils/generate_confusables.py to regenerate this file. |
| 17 | +//////////////////////////////////////////////////////////////////////////////// |
14 | 18 |
|
15 |
| -CONFUSABLE(0x2010, 0x2d) |
16 |
| -CONFUSABLE(0x2011, 0x2d) |
17 |
| -CONFUSABLE(0x2012, 0x2d) |
18 |
| -CONFUSABLE(0x2013, 0x2d) |
19 |
| -CONFUSABLE(0xfe58, 0x2d) |
20 |
| -CONFUSABLE(0x6d4, 0x2d) |
21 |
| -CONFUSABLE(0x2043, 0x2d) |
22 |
| -CONFUSABLE(0x2d7, 0x2d) |
23 |
| -CONFUSABLE(0x2212, 0x2d) |
24 |
| -CONFUSABLE(0x2796, 0x2d) |
25 |
| -CONFUSABLE(0x2cba, 0x2d) |
26 |
| -CONFUSABLE(0x60d, 0x2c) |
27 |
| -CONFUSABLE(0x66b, 0x2c) |
28 |
| -CONFUSABLE(0x201a, 0x2c) |
29 |
| -CONFUSABLE(0xb8, 0x2c) |
30 |
| -CONFUSABLE(0xa4f9, 0x2c) |
31 |
| -CONFUSABLE(0x903, 0x3a) |
32 |
| -CONFUSABLE(0xa83, 0x3a) |
33 |
| -CONFUSABLE(0xff1a, 0x3a) |
34 |
| -CONFUSABLE(0x589, 0x3a) |
35 |
| -CONFUSABLE(0x703, 0x3a) |
36 |
| -CONFUSABLE(0x704, 0x3a) |
37 |
| -CONFUSABLE(0x16ec, 0x3a) |
38 |
| -CONFUSABLE(0xfe30, 0x3a) |
39 |
| -CONFUSABLE(0x1803, 0x3a) |
40 |
| -CONFUSABLE(0x1809, 0x3a) |
41 |
| -CONFUSABLE(0x205a, 0x3a) |
42 |
| -CONFUSABLE(0x5c3, 0x3a) |
43 |
| -CONFUSABLE(0x2f8, 0x3a) |
44 |
| -CONFUSABLE(0xa789, 0x3a) |
45 |
| -CONFUSABLE(0x2236, 0x3a) |
46 |
| -CONFUSABLE(0x2d0, 0x3a) |
47 |
| -CONFUSABLE(0xa4fd, 0x3a) |
48 |
| -CONFUSABLE(0xff01, 0x21) |
49 |
| -CONFUSABLE(0x1c3, 0x21) |
50 |
| -CONFUSABLE(0x2d51, 0x21) |
51 |
| -CONFUSABLE(0x294, 0x3f) |
52 |
| -CONFUSABLE(0x241, 0x3f) |
53 |
| -CONFUSABLE(0x97d, 0x3f) |
54 |
| -CONFUSABLE(0x13ae, 0x3f) |
55 |
| -CONFUSABLE(0xa6eb, 0x3f) |
56 |
| -CONFUSABLE(0x1d16d, 0x2e) |
57 |
| -CONFUSABLE(0x2024, 0x2e) |
58 |
| -CONFUSABLE(0x701, 0x2e) |
59 |
| -CONFUSABLE(0x702, 0x2e) |
60 |
| -CONFUSABLE(0xa60e, 0x2e) |
61 |
| -CONFUSABLE(0x10a50, 0x2e) |
62 |
| -CONFUSABLE(0x660, 0x2e) |
63 |
| -CONFUSABLE(0x6f0, 0x2e) |
64 |
| -CONFUSABLE(0xa4f8, 0x2e) |
65 |
| -CONFUSABLE(0xff3b, 0x28) |
66 |
| -CONFUSABLE(0x2768, 0x28) |
67 |
| -CONFUSABLE(0x2772, 0x28) |
68 |
| -CONFUSABLE(0x3014, 0x28) |
69 |
| -CONFUSABLE(0xfd3e, 0x28) |
70 |
| -CONFUSABLE(0xff3d, 0x29) |
71 |
| -CONFUSABLE(0x2769, 0x29) |
72 |
| -CONFUSABLE(0x2773, 0x29) |
73 |
| -CONFUSABLE(0x3015, 0x29) |
74 |
| -CONFUSABLE(0xfd3f, 0x29) |
75 |
| -CONFUSABLE(0x2774, 0x7b) |
76 |
| -CONFUSABLE(0x1d114, 0x7b) |
77 |
| -CONFUSABLE(0x2775, 0x7d) |
78 |
| -CONFUSABLE(0x204e, 0x2a) |
79 |
| -CONFUSABLE(0x66d, 0x2a) |
80 |
| -CONFUSABLE(0x2217, 0x2a) |
81 |
| -CONFUSABLE(0x1031f, 0x2a) |
82 |
| -CONFUSABLE(0x1735, 0x2f) |
83 |
| -CONFUSABLE(0x2041, 0x2f) |
84 |
| -CONFUSABLE(0x2215, 0x2f) |
85 |
| -CONFUSABLE(0x2044, 0x2f) |
86 |
| -CONFUSABLE(0x2571, 0x2f) |
87 |
| -CONFUSABLE(0x27cb, 0x2f) |
88 |
| -CONFUSABLE(0x29f8, 0x2f) |
89 |
| -CONFUSABLE(0x1d23a, 0x2f) |
90 |
| -CONFUSABLE(0x31d3, 0x2f) |
91 |
| -CONFUSABLE(0x3033, 0x2f) |
92 |
| -CONFUSABLE(0x2cc6, 0x2f) |
93 |
| -CONFUSABLE(0x30ce, 0x2f) |
94 |
| -CONFUSABLE(0x4e3f, 0x2f) |
95 |
| -CONFUSABLE(0x2f03, 0x2f) |
96 |
| -CONFUSABLE(0xff3c, 0x5c) |
97 |
| -CONFUSABLE(0xfe68, 0x5c) |
98 |
| -CONFUSABLE(0x2216, 0x5c) |
99 |
| -CONFUSABLE(0x27cd, 0x5c) |
100 |
| -CONFUSABLE(0x29f5, 0x5c) |
101 |
| -CONFUSABLE(0x29f9, 0x5c) |
102 |
| -CONFUSABLE(0x1d20f, 0x5c) |
103 |
| -CONFUSABLE(0x1d23b, 0x5c) |
104 |
| -CONFUSABLE(0x31d4, 0x5c) |
105 |
| -CONFUSABLE(0x4e36, 0x5c) |
106 |
| -CONFUSABLE(0x2f02, 0x5c) |
107 |
| -CONFUSABLE(0xa778, 0x26) |
108 |
| -CONFUSABLE(0x16ed, 0x2b) |
109 |
| -CONFUSABLE(0x2795, 0x2b) |
110 |
| -CONFUSABLE(0x1029b, 0x2b) |
111 |
| -CONFUSABLE(0x2039, 0x3c) |
112 |
| -CONFUSABLE(0x276e, 0x3c) |
113 |
| -CONFUSABLE(0x2c2, 0x3c) |
114 |
| -CONFUSABLE(0x1d236, 0x3c) |
115 |
| -CONFUSABLE(0x1438, 0x3c) |
116 |
| -CONFUSABLE(0x16b2, 0x3c) |
117 |
| -CONFUSABLE(0x1400, 0x3d) |
118 |
| -CONFUSABLE(0x2e40, 0x3d) |
119 |
| -CONFUSABLE(0x30a0, 0x3d) |
120 |
| -CONFUSABLE(0xa4ff, 0x3d) |
121 |
| -CONFUSABLE(0x203a, 0x3e) |
122 |
| -CONFUSABLE(0x276f, 0x3e) |
123 |
| -CONFUSABLE(0x2c3, 0x3e) |
124 |
| -CONFUSABLE(0x1d237, 0x3e) |
125 |
| -CONFUSABLE(0x1433, 0x3e) |
126 |
| -CONFUSABLE(0x037e, 0x3b) |
| 19 | + |
| 20 | +// CONFUSABLE(CONFUSABLE_POINT, CONFUSABLE_NAME, BASE_POINT, BASE_NAME) |
| 21 | + |
| 22 | +CONFUSABLE(0x2010, "Hyphen", 0x2d, "Hyphen Minus") |
| 23 | +CONFUSABLE(0x2011, "Non-Breaking Hyphen", 0x2d, "Hyphen Minus") |
| 24 | +CONFUSABLE(0x2012, "Figure Dash", 0x2d, "Hyphen Minus") |
| 25 | +CONFUSABLE(0x2013, "En Dash", 0x2d, "Hyphen Minus") |
| 26 | +CONFUSABLE(0xfe58, "Small Em Dash", 0x2d, "Hyphen Minus") |
| 27 | +CONFUSABLE(0x6d4, "Arabic Full Stop", 0x2d, "Hyphen Minus") |
| 28 | +CONFUSABLE(0x2043, "Hyphen Bullet", 0x2d, "Hyphen Minus") |
| 29 | +CONFUSABLE(0x2d7, "Modifier Letter Minus Sign", 0x2d, "Hyphen Minus") |
| 30 | +CONFUSABLE(0x2212, "Minus Sign", 0x2d, "Hyphen Minus") |
| 31 | +CONFUSABLE(0x2796, "Heavy Minus Sign", 0x2d, "Hyphen Minus") |
| 32 | +CONFUSABLE(0x2cba, "Coptic Capital Letter Dialect-P Ni", 0x2d, "Hyphen Minus") |
| 33 | +CONFUSABLE(0x60d, "Arabic Date Separator", 0x2c, "Comma") |
| 34 | +CONFUSABLE(0x66b, "Arabic Decimal Separator", 0x2c, "Comma") |
| 35 | +CONFUSABLE(0x201a, "Single Low-9 Quotation Mark", 0x2c, "Comma") |
| 36 | +CONFUSABLE(0xb8, "Cedilla", 0x2c, "Comma") |
| 37 | +CONFUSABLE(0xa4f9, "Lisu Letter Tone Na Po", 0x2c, "Comma") |
| 38 | +CONFUSABLE(0x37e, "Greek Question Mark", 0x3b, "Semicolon") |
| 39 | +CONFUSABLE(0x903, "Devanagari Sign Visarga", 0x3a, "Colon") |
| 40 | +CONFUSABLE(0xa83, "Gujarati Sign Visarga", 0x3a, "Colon") |
| 41 | +CONFUSABLE(0xff1a, "Fullwidth Colon", 0x3a, "Colon") |
| 42 | +CONFUSABLE(0x589, "Armenian Full Stop", 0x3a, "Colon") |
| 43 | +CONFUSABLE(0x703, "Syriac Supralinear Colon", 0x3a, "Colon") |
| 44 | +CONFUSABLE(0x704, "Syriac Sublinear Colon", 0x3a, "Colon") |
| 45 | +CONFUSABLE(0x16ec, "Runic Multiple Punctuation", 0x3a, "Colon") |
| 46 | +CONFUSABLE(0xfe30, "Presentation Form For Vertical Two Dot Leader", 0x3a, "Colon") |
| 47 | +CONFUSABLE(0x1803, "Mongolian Full Stop", 0x3a, "Colon") |
| 48 | +CONFUSABLE(0x1809, "Mongolian Manchu Full Stop", 0x3a, "Colon") |
| 49 | +CONFUSABLE(0x205a, "Two Dot Punctuation", 0x3a, "Colon") |
| 50 | +CONFUSABLE(0x5c3, "Hebrew Punctuation Sof Pasuq", 0x3a, "Colon") |
| 51 | +CONFUSABLE(0x2f8, "Modifier Letter Raised Colon", 0x3a, "Colon") |
| 52 | +CONFUSABLE(0xa789, "Modifier Letter Colon", 0x3a, "Colon") |
| 53 | +CONFUSABLE(0x2236, "Ratio", 0x3a, "Colon") |
| 54 | +CONFUSABLE(0x2d0, "Modifier Letter Triangular Colon", 0x3a, "Colon") |
| 55 | +CONFUSABLE(0xa4fd, "Lisu Letter Tone Mya Jeu", 0x3a, "Colon") |
| 56 | +CONFUSABLE(0xff01, "Fullwidth Exclamation Mark", 0x21, "Exclamation Mark") |
| 57 | +CONFUSABLE(0x1c3, "Latin Letter Retroflex Click", 0x21, "Exclamation Mark") |
| 58 | +CONFUSABLE(0x2d51, "Tifinagh Letter Tuareg Yang", 0x21, "Exclamation Mark") |
| 59 | +CONFUSABLE(0x294, "Latin Letter Glottal Stop", 0x3f, "Question Mark") |
| 60 | +CONFUSABLE(0x241, "Latin Capital Letter Glottal Stop", 0x3f, "Question Mark") |
| 61 | +CONFUSABLE(0x97d, "Devanagari Letter Glottal Stop", 0x3f, "Question Mark") |
| 62 | +CONFUSABLE(0x13ae, "Cherokee Letter He", 0x3f, "Question Mark") |
| 63 | +CONFUSABLE(0xa6eb, "Bamum Letter Ntuu", 0x3f, "Question Mark") |
| 64 | +CONFUSABLE(0x1d16d, "Musical Symbol Combining Augmentation Dot", 0x2e, "Full Stop") |
| 65 | +CONFUSABLE(0x2024, "One Dot Leader", 0x2e, "Full Stop") |
| 66 | +CONFUSABLE(0x701, "Syriac Supralinear Full Stop", 0x2e, "Full Stop") |
| 67 | +CONFUSABLE(0x702, "Syriac Sublinear Full Stop", 0x2e, "Full Stop") |
| 68 | +CONFUSABLE(0xa60e, "Vai Full Stop", 0x2e, "Full Stop") |
| 69 | +CONFUSABLE(0x10a50, "Kharoshthi Punctuation Dot", 0x2e, "Full Stop") |
| 70 | +CONFUSABLE(0x660, "Arabic-Indic Digit Zero", 0x2e, "Full Stop") |
| 71 | +CONFUSABLE(0x6f0, "Extended Arabic-Indic Digit Zero", 0x2e, "Full Stop") |
| 72 | +CONFUSABLE(0xa4f8, "Lisu Letter Tone Mya Ti", 0x2e, "Full Stop") |
| 73 | +CONFUSABLE(0xff3b, "Fullwidth Left Square Bracket", 0x28, "Left Parenthesis") |
| 74 | +CONFUSABLE(0x2768, "Medium Left Parenthesis Ornament", 0x28, "Left Parenthesis") |
| 75 | +CONFUSABLE(0x2772, "Light Left Tortoise Shell Bracket Ornament", 0x28, "Left Parenthesis") |
| 76 | +CONFUSABLE(0x3014, "Left Tortoise Shell Bracket", 0x28, "Left Parenthesis") |
| 77 | +CONFUSABLE(0xfd3e, "Ornate Left Parenthesis", 0x28, "Left Parenthesis") |
| 78 | +CONFUSABLE(0xff3d, "Fullwidth Right Square Bracket", 0x29, "Right Parenthesis") |
| 79 | +CONFUSABLE(0x2769, "Medium Right Parenthesis Ornament", 0x29, "Right Parenthesis") |
| 80 | +CONFUSABLE(0x2773, "Light Right Tortoise Shell Bracket Ornament", 0x29, "Right Parenthesis") |
| 81 | +CONFUSABLE(0x3015, "Right Tortoise Shell Bracket", 0x29, "Right Parenthesis") |
| 82 | +CONFUSABLE(0xfd3f, "Ornate Right Parenthesis", 0x29, "Right Parenthesis") |
| 83 | +CONFUSABLE(0x2774, "Medium Left Curly Bracket Ornament", 0x7b, "Left Curly Bracket") |
| 84 | +CONFUSABLE(0x1d114, "Musical Symbol Brace", 0x7b, "Left Curly Bracket") |
| 85 | +CONFUSABLE(0x2775, "Medium Right Curly Bracket Ornament", 0x7d, "Right Curly Bracket") |
| 86 | +CONFUSABLE(0x204e, "Low Asterisk", 0x2a, "Asterisk") |
| 87 | +CONFUSABLE(0x66d, "Arabic Five Pointed Star", 0x2a, "Asterisk") |
| 88 | +CONFUSABLE(0x2217, "Asterisk Operator", 0x2a, "Asterisk") |
| 89 | +CONFUSABLE(0x1031f, "Old Italic Letter Ess", 0x2a, "Asterisk") |
| 90 | +CONFUSABLE(0x1735, "Philippine Single Punctuation", 0x2f, "Forward Slash") |
| 91 | +CONFUSABLE(0x2041, "Caret Insertion Point", 0x2f, "Forward Slash") |
| 92 | +CONFUSABLE(0x2215, "Division Slash", 0x2f, "Forward Slash") |
| 93 | +CONFUSABLE(0x2044, "Fraction Slash", 0x2f, "Forward Slash") |
| 94 | +CONFUSABLE(0x2571, "Box Drawings Light Diagonal Upper Right To Lower Left", 0x2f, "Forward Slash") |
| 95 | +CONFUSABLE(0x27cb, "Mathematical Rising Diagonal", 0x2f, "Forward Slash") |
| 96 | +CONFUSABLE(0x29f8, "Big Solidus", 0x2f, "Forward Slash") |
| 97 | +CONFUSABLE(0x1d23a, "Greek Instrumental Notation Symbol-47", 0x2f, "Forward Slash") |
| 98 | +CONFUSABLE(0x31d3, "Cjk Stroke Sp", 0x2f, "Forward Slash") |
| 99 | +CONFUSABLE(0x3033, "Vertical Kana Repeat Mark Upper Half", 0x2f, "Forward Slash") |
| 100 | +CONFUSABLE(0x2cc6, "Coptic Capital Letter Old Coptic Esh", 0x2f, "Forward Slash") |
| 101 | +CONFUSABLE(0x30ce, "Katakana Letter No", 0x2f, "Forward Slash") |
| 102 | +CONFUSABLE(0x4e3f, "Cjk Unified Ideograph-4E3F", 0x2f, "Forward Slash") |
| 103 | +CONFUSABLE(0x2f03, "Kangxi Radical Slash", 0x2f, "Forward Slash") |
| 104 | +CONFUSABLE(0xff3c, "Fullwidth Reverse Solidus", 0x5c, "Back Slash") |
| 105 | +CONFUSABLE(0xfe68, "Small Reverse Solidus", 0x5c, "Back Slash") |
| 106 | +CONFUSABLE(0x2216, "Set Minus", 0x5c, "Back Slash") |
| 107 | +CONFUSABLE(0x27cd, "Mathematical Falling Diagonal", 0x5c, "Back Slash") |
| 108 | +CONFUSABLE(0x29f5, "Reverse Solidus Operator", 0x5c, "Back Slash") |
| 109 | +CONFUSABLE(0x29f9, "Big Reverse Solidus", 0x5c, "Back Slash") |
| 110 | +CONFUSABLE(0x1d20f, "Greek Vocal Notation Symbol-16", 0x5c, "Back Slash") |
| 111 | +CONFUSABLE(0x1d23b, "Greek Instrumental Notation Symbol-48", 0x5c, "Back Slash") |
| 112 | +CONFUSABLE(0x31d4, "Cjk Stroke D", 0x5c, "Back Slash") |
| 113 | +CONFUSABLE(0x4e36, "Cjk Unified Ideograph-4E36", 0x5c, "Back Slash") |
| 114 | +CONFUSABLE(0x2f02, "Kangxi Radical Dot", 0x5c, "Back Slash") |
| 115 | +CONFUSABLE(0xa778, "Latin Small Letter Um", 0x26, "Ampersand") |
| 116 | +CONFUSABLE(0x16ed, "Runic Cross Punctuation", 0x2b, "Plus Sign") |
| 117 | +CONFUSABLE(0x2795, "Heavy Plus Sign", 0x2b, "Plus Sign") |
| 118 | +CONFUSABLE(0x1029b, "Lycian Letter H", 0x2b, "Plus Sign") |
| 119 | +CONFUSABLE(0x2039, "Single Left-Pointing Angle Quotation Mark", 0x3c, "Less Than Sign") |
| 120 | +CONFUSABLE(0x276e, "Heavy Left-Pointing Angle Quotation Mark Ornament", 0x3c, "Less Than Sign") |
| 121 | +CONFUSABLE(0x2c2, "Modifier Letter Left Arrowhead", 0x3c, "Less Than Sign") |
| 122 | +CONFUSABLE(0x1d236, "Greek Instrumental Notation Symbol-40", 0x3c, "Less Than Sign") |
| 123 | +CONFUSABLE(0x1438, "Canadian Syllabics Pa", 0x3c, "Less Than Sign") |
| 124 | +CONFUSABLE(0x16b2, "Runic Letter Kauna", 0x3c, "Less Than Sign") |
| 125 | +CONFUSABLE(0x1400, "Canadian Syllabics Hyphen", 0x3d, "Equals Sign") |
| 126 | +CONFUSABLE(0x2e40, "Double Hyphen", 0x3d, "Equals Sign") |
| 127 | +CONFUSABLE(0x30a0, "Katakana-Hiragana Double Hyphen", 0x3d, "Equals Sign") |
| 128 | +CONFUSABLE(0xa4ff, "Lisu Punctuation Full Stop", 0x3d, "Equals Sign") |
| 129 | +CONFUSABLE(0x203a, "Single Right-Pointing Angle Quotation Mark", 0x3e, "Greater Than Sign") |
| 130 | +CONFUSABLE(0x276f, "Heavy Right-Pointing Angle Quotation Mark Ornament", 0x3e, "Greater Than Sign") |
| 131 | +CONFUSABLE(0x2c3, "Modifier Letter Right Arrowhead", 0x3e, "Greater Than Sign") |
| 132 | +CONFUSABLE(0x1d237, "Greek Instrumental Notation Symbol-42", 0x3e, "Greater Than Sign") |
| 133 | +CONFUSABLE(0x1433, "Canadian Syllabics Po", 0x3e, "Greater Than Sign") |
| 134 | +CONFUSABLE(0x16f3f, "Miao Letter Archaic Zza", 0x3e, "Greater Than Sign") |
127 | 135 |
|
128 | 136 | #undef CONFUSABLE
|
0 commit comments