mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Register new snapshots
This commit is contained in:
parent
b25e100173
commit
52edb2ecc9
@ -283,11 +283,7 @@ def load_east_asian_width(want_widths, except_cats):
|
||||
return widths
|
||||
|
||||
def escape_char(c):
|
||||
if c <= 0x7f:
|
||||
return "'\\x%2.2x'" % c
|
||||
if c <= 0xffff:
|
||||
return "'\\u%4.4x'" % c
|
||||
return "'\\U%8.8x'" % c
|
||||
return "'\\u{%x}'" % c
|
||||
|
||||
def emit_bsearch_range_table(f):
|
||||
f.write("""
|
||||
@ -377,8 +373,8 @@ def emit_conversions_module(f, lowerupper, upperlower):
|
||||
else if key < c { Less }
|
||||
else { Greater }
|
||||
}) {
|
||||
slice::Found(i) => Some(i),
|
||||
slice::NotFound(_) => None,
|
||||
slice::BinarySearchResult::Found(i) => Some(i),
|
||||
slice::BinarySearchResult::NotFound(_) => None,
|
||||
}
|
||||
}
|
||||
|
||||
@ -392,6 +388,7 @@ def emit_conversions_module(f, lowerupper, upperlower):
|
||||
def emit_grapheme_module(f, grapheme_table, grapheme_cats):
|
||||
f.write("""pub mod grapheme {
|
||||
use core::slice::SlicePrelude;
|
||||
use core::kinds::Copy;
|
||||
pub use self::GraphemeCat::*;
|
||||
use core::slice;
|
||||
|
||||
@ -403,6 +400,8 @@ def emit_grapheme_module(f, grapheme_table, grapheme_cats):
|
||||
f.write(" GC_" + cat + ",\n")
|
||||
f.write(""" }
|
||||
|
||||
impl Copy for GraphemeCat {}
|
||||
|
||||
fn bsearch_range_value_table(c: char, r: &'static [(char, char, GraphemeCat)]) -> GraphemeCat {
|
||||
use core::cmp::Ordering::{Equal, Less, Greater};
|
||||
match r.binary_search(|&(lo, hi, _)| {
|
||||
@ -410,11 +409,11 @@ def emit_grapheme_module(f, grapheme_table, grapheme_cats):
|
||||
else if hi < c { Less }
|
||||
else { Greater }
|
||||
}) {
|
||||
slice::Found(idx) => {
|
||||
slice::BinarySearchResult::Found(idx) => {
|
||||
let (_, _, cat) = r[idx];
|
||||
cat
|
||||
}
|
||||
slice::NotFound(_) => GC_Any
|
||||
slice::BinarySearchResult::NotFound(_) => GC_Any
|
||||
}
|
||||
}
|
||||
|
||||
@ -443,11 +442,11 @@ def emit_charwidth_module(f, width_table):
|
||||
else if hi < c { Less }
|
||||
else { Greater }
|
||||
}) {
|
||||
slice::Found(idx) => {
|
||||
slice::BinarySearchResult::Found(idx) => {
|
||||
let (_, _, r_ncjk, r_cjk) = r[idx];
|
||||
if is_cjk { r_cjk } else { r_ncjk }
|
||||
}
|
||||
slice::NotFound(_) => 1
|
||||
slice::BinarySearchResult::NotFound(_) => 1
|
||||
}
|
||||
}
|
||||
""")
|
||||
@ -540,11 +539,11 @@ def emit_norm_module(f, canon, compat, combine, norm_props):
|
||||
else if hi < c { Less }
|
||||
else { Greater }
|
||||
}) {
|
||||
slice::Found(idx) => {
|
||||
slice::BinarySearchResult::Found(idx) => {
|
||||
let (_, _, result) = r[idx];
|
||||
result
|
||||
}
|
||||
slice::NotFound(_) => 0
|
||||
slice::BinarySearchResult::NotFound(_) => 0
|
||||
}
|
||||
}\n
|
||||
""")
|
||||
@ -613,7 +612,7 @@ if __name__ == "__main__":
|
||||
unicode_version = re.search(pattern, readme.read()).groups()
|
||||
rf.write("""
|
||||
/// The version of [Unicode](http://www.unicode.org/)
|
||||
/// that the `UnicodeChar` and `UnicodeStrSlice` traits are based on.
|
||||
/// that the `UnicodeChar` and `UnicodeStrPrelude` traits are based on.
|
||||
pub const UNICODE_VERSION: (uint, uint, uint) = (%s, %s, %s);
|
||||
""" % unicode_version)
|
||||
(canon_decomp, compat_decomp, gencats, combines,
|
||||
|
@ -876,18 +876,18 @@ mod tests {
|
||||
assert_eq!("".len(), 0u);
|
||||
assert_eq!("hello world".len(), 11u);
|
||||
assert_eq!("\x63".len(), 1u);
|
||||
assert_eq!("\u00a2".len(), 2u);
|
||||
assert_eq!("\u03c0".len(), 2u);
|
||||
assert_eq!("\u2620".len(), 3u);
|
||||
assert_eq!("\U0001d11e".len(), 4u);
|
||||
assert_eq!("\u{a2}".len(), 2u);
|
||||
assert_eq!("\u{3c0}".len(), 2u);
|
||||
assert_eq!("\u{2620}".len(), 3u);
|
||||
assert_eq!("\u{1d11e}".len(), 4u);
|
||||
|
||||
assert_eq!("".char_len(), 0u);
|
||||
assert_eq!("hello world".char_len(), 11u);
|
||||
assert_eq!("\x63".char_len(), 1u);
|
||||
assert_eq!("\u00a2".char_len(), 1u);
|
||||
assert_eq!("\u03c0".char_len(), 1u);
|
||||
assert_eq!("\u2620".char_len(), 1u);
|
||||
assert_eq!("\U0001d11e".char_len(), 1u);
|
||||
assert_eq!("\u{a2}".char_len(), 1u);
|
||||
assert_eq!("\u{3c0}".char_len(), 1u);
|
||||
assert_eq!("\u{2620}".char_len(), 1u);
|
||||
assert_eq!("\u{1d11e}".char_len(), 1u);
|
||||
assert_eq!("ประเทศไทย中华Việt Nam".char_len(), 19u);
|
||||
|
||||
assert_eq!("hello".width(false), 10u);
|
||||
@ -896,8 +896,8 @@ mod tests {
|
||||
assert_eq!("\0\0\0\0\0".width(true), 0u);
|
||||
assert_eq!("".width(false), 0u);
|
||||
assert_eq!("".width(true), 0u);
|
||||
assert_eq!("\u2081\u2082\u2083\u2084".width(false), 4u);
|
||||
assert_eq!("\u2081\u2082\u2083\u2084".width(true), 8u);
|
||||
assert_eq!("\u{2081}\u{2082}\u{2083}\u{2084}".width(false), 4u);
|
||||
assert_eq!("\u{2081}\u{2082}\u{2083}\u{2084}".width(true), 8u);
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1193,7 +1193,7 @@ mod tests {
|
||||
assert_eq!("ab", "abc".slice(0, 2));
|
||||
assert_eq!("bc", "abc".slice(1, 3));
|
||||
assert_eq!("", "abc".slice(1, 1));
|
||||
assert_eq!("\u65e5", "\u65e5\u672c".slice(0, 3));
|
||||
assert_eq!("\u{65e5}", "\u{65e5}\u{672c}".slice(0, 3));
|
||||
|
||||
let data = "ประเทศไทย中华";
|
||||
assert_eq!("ป", data.slice(0, 3));
|
||||
@ -1320,7 +1320,7 @@ mod tests {
|
||||
assert_eq!("a".trim_left(), "a");
|
||||
assert_eq!(" ".trim_left(), "");
|
||||
assert_eq!(" blah".trim_left(), "blah");
|
||||
assert_eq!(" \u3000 wut".trim_left(), "wut");
|
||||
assert_eq!(" \u{3000} wut".trim_left(), "wut");
|
||||
assert_eq!("hey ".trim_left(), "hey ");
|
||||
}
|
||||
|
||||
@ -1330,7 +1330,7 @@ mod tests {
|
||||
assert_eq!("a".trim_right(), "a");
|
||||
assert_eq!(" ".trim_right(), "");
|
||||
assert_eq!("blah ".trim_right(), "blah");
|
||||
assert_eq!("wut \u3000 ".trim_right(), "wut");
|
||||
assert_eq!("wut \u{3000} ".trim_right(), "wut");
|
||||
assert_eq!(" hey".trim_right(), " hey");
|
||||
}
|
||||
|
||||
@ -1340,7 +1340,7 @@ mod tests {
|
||||
assert_eq!("a".trim(), "a");
|
||||
assert_eq!(" ".trim(), "");
|
||||
assert_eq!(" blah ".trim(), "blah");
|
||||
assert_eq!("\nwut \u3000 ".trim(), "wut");
|
||||
assert_eq!("\nwut \u{3000} ".trim(), "wut");
|
||||
assert_eq!(" hey dude ".trim(), "hey dude");
|
||||
}
|
||||
|
||||
@ -1348,7 +1348,7 @@ mod tests {
|
||||
fn test_is_whitespace() {
|
||||
assert!("".is_whitespace());
|
||||
assert!(" ".is_whitespace());
|
||||
assert!("\u2009".is_whitespace()); // Thin space
|
||||
assert!("\u{2009}".is_whitespace()); // Thin space
|
||||
assert!(" \n\t ".is_whitespace());
|
||||
assert!(!" _ ".is_whitespace());
|
||||
}
|
||||
@ -1603,13 +1603,13 @@ mod tests {
|
||||
assert_eq!("a c".escape_unicode(), String::from_str("\\x61\\x20\\x63"));
|
||||
assert_eq!("\r\n\t".escape_unicode(), String::from_str("\\x0d\\x0a\\x09"));
|
||||
assert_eq!("'\"\\".escape_unicode(), String::from_str("\\x27\\x22\\x5c"));
|
||||
assert_eq!("\x00\x01\u00fe\u00ff".escape_unicode(),
|
||||
assert_eq!("\x00\x01\u{fe}\u{ff}".escape_unicode(),
|
||||
String::from_str("\\x00\\x01\\u00fe\\u00ff"));
|
||||
assert_eq!("\u0100\uffff".escape_unicode(), String::from_str("\\u0100\\uffff"));
|
||||
assert_eq!("\U00010000\U0010ffff".escape_unicode(),
|
||||
assert_eq!("\u{100}\u{ffff}".escape_unicode(), String::from_str("\\u0100\\uffff"));
|
||||
assert_eq!("\u{10000}\u{10ffff}".escape_unicode(),
|
||||
String::from_str("\\U00010000\\U0010ffff"));
|
||||
assert_eq!("ab\ufb00".escape_unicode(), String::from_str("\\x61\\x62\\ufb00"));
|
||||
assert_eq!("\U0001d4ea\r".escape_unicode(), String::from_str("\\U0001d4ea\\x0d"));
|
||||
assert_eq!("ab\u{fb00}".escape_unicode(), String::from_str("\\x61\\x62\\ufb00"));
|
||||
assert_eq!("\u{1d4ea}\r".escape_unicode(), String::from_str("\\U0001d4ea\\x0d"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1618,11 +1618,11 @@ mod tests {
|
||||
assert_eq!("a c".escape_default(), String::from_str("a c"));
|
||||
assert_eq!("\r\n\t".escape_default(), String::from_str("\\r\\n\\t"));
|
||||
assert_eq!("'\"\\".escape_default(), String::from_str("\\'\\\"\\\\"));
|
||||
assert_eq!("\u0100\uffff".escape_default(), String::from_str("\\u0100\\uffff"));
|
||||
assert_eq!("\U00010000\U0010ffff".escape_default(),
|
||||
assert_eq!("\u{100}\u{ffff}".escape_default(), String::from_str("\\u0100\\uffff"));
|
||||
assert_eq!("\u{10000}\u{10ffff}".escape_default(),
|
||||
String::from_str("\\U00010000\\U0010ffff"));
|
||||
assert_eq!("ab\ufb00".escape_default(), String::from_str("ab\\ufb00"));
|
||||
assert_eq!("\U0001d4ea\r".escape_default(), String::from_str("\\U0001d4ea\\r"));
|
||||
assert_eq!("ab\u{fb00}".escape_default(), String::from_str("ab\\ufb00"));
|
||||
assert_eq!("\u{1d4ea}\r".escape_default(), String::from_str("\\U0001d4ea\\r"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1845,15 +1845,15 @@ mod tests {
|
||||
}
|
||||
}
|
||||
t!("abc", "abc");
|
||||
t!("\u1e0b\u01c4", "d\u0307\u01c4");
|
||||
t!("\u2026", "\u2026");
|
||||
t!("\u2126", "\u03a9");
|
||||
t!("\u1e0b\u0323", "d\u0323\u0307");
|
||||
t!("\u1e0d\u0307", "d\u0323\u0307");
|
||||
t!("a\u0301", "a\u0301");
|
||||
t!("\u0301a", "\u0301a");
|
||||
t!("\ud4db", "\u1111\u1171\u11b6");
|
||||
t!("\uac1c", "\u1100\u1162");
|
||||
t!("\u{1e0b}\u{1c4}", "d\u{307}\u{1c4}");
|
||||
t!("\u{2026}", "\u{2026}");
|
||||
t!("\u{2126}", "\u{3a9}");
|
||||
t!("\u{1e0b}\u{323}", "d\u{323}\u{307}");
|
||||
t!("\u{1e0d}\u{307}", "d\u{323}\u{307}");
|
||||
t!("a\u{301}", "a\u{301}");
|
||||
t!("\u{301}a", "\u{301}a");
|
||||
t!("\u{d4db}", "\u{1111}\u{1171}\u{11b6}");
|
||||
t!("\u{ac1c}", "\u{1100}\u{1162}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1864,15 +1864,15 @@ mod tests {
|
||||
}
|
||||
}
|
||||
t!("abc", "abc");
|
||||
t!("\u1e0b\u01c4", "d\u0307DZ\u030c");
|
||||
t!("\u2026", "...");
|
||||
t!("\u2126", "\u03a9");
|
||||
t!("\u1e0b\u0323", "d\u0323\u0307");
|
||||
t!("\u1e0d\u0307", "d\u0323\u0307");
|
||||
t!("a\u0301", "a\u0301");
|
||||
t!("\u0301a", "\u0301a");
|
||||
t!("\ud4db", "\u1111\u1171\u11b6");
|
||||
t!("\uac1c", "\u1100\u1162");
|
||||
t!("\u{1e0b}\u{1c4}", "d\u{307}DZ\u{30c}");
|
||||
t!("\u{2026}", "...");
|
||||
t!("\u{2126}", "\u{3a9}");
|
||||
t!("\u{1e0b}\u{323}", "d\u{323}\u{307}");
|
||||
t!("\u{1e0d}\u{307}", "d\u{323}\u{307}");
|
||||
t!("a\u{301}", "a\u{301}");
|
||||
t!("\u{301}a", "\u{301}a");
|
||||
t!("\u{d4db}", "\u{1111}\u{1171}\u{11b6}");
|
||||
t!("\u{ac1c}", "\u{1100}\u{1162}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1883,16 +1883,16 @@ mod tests {
|
||||
}
|
||||
}
|
||||
t!("abc", "abc");
|
||||
t!("\u1e0b\u01c4", "\u1e0b\u01c4");
|
||||
t!("\u2026", "\u2026");
|
||||
t!("\u2126", "\u03a9");
|
||||
t!("\u1e0b\u0323", "\u1e0d\u0307");
|
||||
t!("\u1e0d\u0307", "\u1e0d\u0307");
|
||||
t!("a\u0301", "\u00e1");
|
||||
t!("\u0301a", "\u0301a");
|
||||
t!("\ud4db", "\ud4db");
|
||||
t!("\uac1c", "\uac1c");
|
||||
t!("a\u0300\u0305\u0315\u05aeb", "\u00e0\u05ae\u0305\u0315b");
|
||||
t!("\u{1e0b}\u{1c4}", "\u{1e0b}\u{1c4}");
|
||||
t!("\u{2026}", "\u{2026}");
|
||||
t!("\u{2126}", "\u{3a9}");
|
||||
t!("\u{1e0b}\u{323}", "\u{1e0d}\u{307}");
|
||||
t!("\u{1e0d}\u{307}", "\u{1e0d}\u{307}");
|
||||
t!("a\u{301}", "\u{e1}");
|
||||
t!("\u{301}a", "\u{301}a");
|
||||
t!("\u{d4db}", "\u{d4db}");
|
||||
t!("\u{ac1c}", "\u{ac1c}");
|
||||
t!("a\u{300}\u{305}\u{315}\u{5ae}b", "\u{e0}\u{5ae}\u{305}\u{315}b");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1903,16 +1903,16 @@ mod tests {
|
||||
}
|
||||
}
|
||||
t!("abc", "abc");
|
||||
t!("\u1e0b\u01c4", "\u1e0bD\u017d");
|
||||
t!("\u2026", "...");
|
||||
t!("\u2126", "\u03a9");
|
||||
t!("\u1e0b\u0323", "\u1e0d\u0307");
|
||||
t!("\u1e0d\u0307", "\u1e0d\u0307");
|
||||
t!("a\u0301", "\u00e1");
|
||||
t!("\u0301a", "\u0301a");
|
||||
t!("\ud4db", "\ud4db");
|
||||
t!("\uac1c", "\uac1c");
|
||||
t!("a\u0300\u0305\u0315\u05aeb", "\u00e0\u05ae\u0305\u0315b");
|
||||
t!("\u{1e0b}\u{1c4}", "\u{1e0b}D\u{17d}");
|
||||
t!("\u{2026}", "...");
|
||||
t!("\u{2126}", "\u{3a9}");
|
||||
t!("\u{1e0b}\u{323}", "\u{1e0d}\u{307}");
|
||||
t!("\u{1e0d}\u{307}", "\u{1e0d}\u{307}");
|
||||
t!("a\u{301}", "\u{e1}");
|
||||
t!("\u{301}a", "\u{301}a");
|
||||
t!("\u{d4db}", "\u{d4db}");
|
||||
t!("\u{ac1c}", "\u{ac1c}");
|
||||
t!("a\u{300}\u{305}\u{315}\u{5ae}b", "\u{e0}\u{5ae}\u{305}\u{315}b");
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1932,238 +1932,361 @@ mod tests {
|
||||
// official Unicode test data
|
||||
// from http://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt
|
||||
let test_same: [(_, &[_]), .. 325] = [
|
||||
("\u0020\u0020", &["\u0020", "\u0020"]), ("\u0020\u0308\u0020", &["\u0020\u0308",
|
||||
"\u0020"]), ("\u0020\u000D", &["\u0020", "\u000D"]), ("\u0020\u0308\u000D",
|
||||
&["\u0020\u0308", "\u000D"]), ("\u0020\u000A", &["\u0020", "\u000A"]),
|
||||
("\u0020\u0308\u000A", &["\u0020\u0308", "\u000A"]), ("\u0020\u0001", &["\u0020",
|
||||
"\u0001"]), ("\u0020\u0308\u0001", &["\u0020\u0308", "\u0001"]), ("\u0020\u0300",
|
||||
&["\u0020\u0300"]), ("\u0020\u0308\u0300", &["\u0020\u0308\u0300"]), ("\u0020\u1100",
|
||||
&["\u0020", "\u1100"]), ("\u0020\u0308\u1100", &["\u0020\u0308", "\u1100"]),
|
||||
("\u0020\u1160", &["\u0020", "\u1160"]), ("\u0020\u0308\u1160", &["\u0020\u0308",
|
||||
"\u1160"]), ("\u0020\u11A8", &["\u0020", "\u11A8"]), ("\u0020\u0308\u11A8",
|
||||
&["\u0020\u0308", "\u11A8"]), ("\u0020\uAC00", &["\u0020", "\uAC00"]),
|
||||
("\u0020\u0308\uAC00", &["\u0020\u0308", "\uAC00"]), ("\u0020\uAC01", &["\u0020",
|
||||
"\uAC01"]), ("\u0020\u0308\uAC01", &["\u0020\u0308", "\uAC01"]), ("\u0020\U0001F1E6",
|
||||
&["\u0020", "\U0001F1E6"]), ("\u0020\u0308\U0001F1E6", &["\u0020\u0308",
|
||||
"\U0001F1E6"]), ("\u0020\u0378", &["\u0020", "\u0378"]), ("\u0020\u0308\u0378",
|
||||
&["\u0020\u0308", "\u0378"]), ("\u000D\u0020", &["\u000D", "\u0020"]),
|
||||
("\u000D\u0308\u0020", &["\u000D", "\u0308", "\u0020"]), ("\u000D\u000D", &["\u000D",
|
||||
"\u000D"]), ("\u000D\u0308\u000D", &["\u000D", "\u0308", "\u000D"]), ("\u000D\u000A",
|
||||
&["\u000D\u000A"]), ("\u000D\u0308\u000A", &["\u000D", "\u0308", "\u000A"]),
|
||||
("\u000D\u0001", &["\u000D", "\u0001"]), ("\u000D\u0308\u0001", &["\u000D", "\u0308",
|
||||
"\u0001"]), ("\u000D\u0300", &["\u000D", "\u0300"]), ("\u000D\u0308\u0300",
|
||||
&["\u000D", "\u0308\u0300"]), ("\u000D\u0903", &["\u000D", "\u0903"]),
|
||||
("\u000D\u1100", &["\u000D", "\u1100"]), ("\u000D\u0308\u1100", &["\u000D", "\u0308",
|
||||
"\u1100"]), ("\u000D\u1160", &["\u000D", "\u1160"]), ("\u000D\u0308\u1160",
|
||||
&["\u000D", "\u0308", "\u1160"]), ("\u000D\u11A8", &["\u000D", "\u11A8"]),
|
||||
("\u000D\u0308\u11A8", &["\u000D", "\u0308", "\u11A8"]), ("\u000D\uAC00", &["\u000D",
|
||||
"\uAC00"]), ("\u000D\u0308\uAC00", &["\u000D", "\u0308", "\uAC00"]), ("\u000D\uAC01",
|
||||
&["\u000D", "\uAC01"]), ("\u000D\u0308\uAC01", &["\u000D", "\u0308", "\uAC01"]),
|
||||
("\u000D\U0001F1E6", &["\u000D", "\U0001F1E6"]), ("\u000D\u0308\U0001F1E6",
|
||||
&["\u000D", "\u0308", "\U0001F1E6"]), ("\u000D\u0378", &["\u000D", "\u0378"]),
|
||||
("\u000D\u0308\u0378", &["\u000D", "\u0308", "\u0378"]), ("\u000A\u0020", &["\u000A",
|
||||
"\u0020"]), ("\u000A\u0308\u0020", &["\u000A", "\u0308", "\u0020"]), ("\u000A\u000D",
|
||||
&["\u000A", "\u000D"]), ("\u000A\u0308\u000D", &["\u000A", "\u0308", "\u000D"]),
|
||||
("\u000A\u000A", &["\u000A", "\u000A"]), ("\u000A\u0308\u000A", &["\u000A", "\u0308",
|
||||
"\u000A"]), ("\u000A\u0001", &["\u000A", "\u0001"]), ("\u000A\u0308\u0001",
|
||||
&["\u000A", "\u0308", "\u0001"]), ("\u000A\u0300", &["\u000A", "\u0300"]),
|
||||
("\u000A\u0308\u0300", &["\u000A", "\u0308\u0300"]), ("\u000A\u0903", &["\u000A",
|
||||
"\u0903"]), ("\u000A\u1100", &["\u000A", "\u1100"]), ("\u000A\u0308\u1100",
|
||||
&["\u000A", "\u0308", "\u1100"]), ("\u000A\u1160", &["\u000A", "\u1160"]),
|
||||
("\u000A\u0308\u1160", &["\u000A", "\u0308", "\u1160"]), ("\u000A\u11A8", &["\u000A",
|
||||
"\u11A8"]), ("\u000A\u0308\u11A8", &["\u000A", "\u0308", "\u11A8"]), ("\u000A\uAC00",
|
||||
&["\u000A", "\uAC00"]), ("\u000A\u0308\uAC00", &["\u000A", "\u0308", "\uAC00"]),
|
||||
("\u000A\uAC01", &["\u000A", "\uAC01"]), ("\u000A\u0308\uAC01", &["\u000A", "\u0308",
|
||||
"\uAC01"]), ("\u000A\U0001F1E6", &["\u000A", "\U0001F1E6"]),
|
||||
("\u000A\u0308\U0001F1E6", &["\u000A", "\u0308", "\U0001F1E6"]), ("\u000A\u0378",
|
||||
&["\u000A", "\u0378"]), ("\u000A\u0308\u0378", &["\u000A", "\u0308", "\u0378"]),
|
||||
("\u0001\u0020", &["\u0001", "\u0020"]), ("\u0001\u0308\u0020", &["\u0001", "\u0308",
|
||||
"\u0020"]), ("\u0001\u000D", &["\u0001", "\u000D"]), ("\u0001\u0308\u000D",
|
||||
&["\u0001", "\u0308", "\u000D"]), ("\u0001\u000A", &["\u0001", "\u000A"]),
|
||||
("\u0001\u0308\u000A", &["\u0001", "\u0308", "\u000A"]), ("\u0001\u0001", &["\u0001",
|
||||
"\u0001"]), ("\u0001\u0308\u0001", &["\u0001", "\u0308", "\u0001"]), ("\u0001\u0300",
|
||||
&["\u0001", "\u0300"]), ("\u0001\u0308\u0300", &["\u0001", "\u0308\u0300"]),
|
||||
("\u0001\u0903", &["\u0001", "\u0903"]), ("\u0001\u1100", &["\u0001", "\u1100"]),
|
||||
("\u0001\u0308\u1100", &["\u0001", "\u0308", "\u1100"]), ("\u0001\u1160", &["\u0001",
|
||||
"\u1160"]), ("\u0001\u0308\u1160", &["\u0001", "\u0308", "\u1160"]), ("\u0001\u11A8",
|
||||
&["\u0001", "\u11A8"]), ("\u0001\u0308\u11A8", &["\u0001", "\u0308", "\u11A8"]),
|
||||
("\u0001\uAC00", &["\u0001", "\uAC00"]), ("\u0001\u0308\uAC00", &["\u0001", "\u0308",
|
||||
"\uAC00"]), ("\u0001\uAC01", &["\u0001", "\uAC01"]), ("\u0001\u0308\uAC01",
|
||||
&["\u0001", "\u0308", "\uAC01"]), ("\u0001\U0001F1E6", &["\u0001", "\U0001F1E6"]),
|
||||
("\u0001\u0308\U0001F1E6", &["\u0001", "\u0308", "\U0001F1E6"]), ("\u0001\u0378",
|
||||
&["\u0001", "\u0378"]), ("\u0001\u0308\u0378", &["\u0001", "\u0308", "\u0378"]),
|
||||
("\u0300\u0020", &["\u0300", "\u0020"]), ("\u0300\u0308\u0020", &["\u0300\u0308",
|
||||
"\u0020"]), ("\u0300\u000D", &["\u0300", "\u000D"]), ("\u0300\u0308\u000D",
|
||||
&["\u0300\u0308", "\u000D"]), ("\u0300\u000A", &["\u0300", "\u000A"]),
|
||||
("\u0300\u0308\u000A", &["\u0300\u0308", "\u000A"]), ("\u0300\u0001", &["\u0300",
|
||||
"\u0001"]), ("\u0300\u0308\u0001", &["\u0300\u0308", "\u0001"]), ("\u0300\u0300",
|
||||
&["\u0300\u0300"]), ("\u0300\u0308\u0300", &["\u0300\u0308\u0300"]), ("\u0300\u1100",
|
||||
&["\u0300", "\u1100"]), ("\u0300\u0308\u1100", &["\u0300\u0308", "\u1100"]),
|
||||
("\u0300\u1160", &["\u0300", "\u1160"]), ("\u0300\u0308\u1160", &["\u0300\u0308",
|
||||
"\u1160"]), ("\u0300\u11A8", &["\u0300", "\u11A8"]), ("\u0300\u0308\u11A8",
|
||||
&["\u0300\u0308", "\u11A8"]), ("\u0300\uAC00", &["\u0300", "\uAC00"]),
|
||||
("\u0300\u0308\uAC00", &["\u0300\u0308", "\uAC00"]), ("\u0300\uAC01", &["\u0300",
|
||||
"\uAC01"]), ("\u0300\u0308\uAC01", &["\u0300\u0308", "\uAC01"]), ("\u0300\U0001F1E6",
|
||||
&["\u0300", "\U0001F1E6"]), ("\u0300\u0308\U0001F1E6", &["\u0300\u0308",
|
||||
"\U0001F1E6"]), ("\u0300\u0378", &["\u0300", "\u0378"]), ("\u0300\u0308\u0378",
|
||||
&["\u0300\u0308", "\u0378"]), ("\u0903\u0020", &["\u0903", "\u0020"]),
|
||||
("\u0903\u0308\u0020", &["\u0903\u0308", "\u0020"]), ("\u0903\u000D", &["\u0903",
|
||||
"\u000D"]), ("\u0903\u0308\u000D", &["\u0903\u0308", "\u000D"]), ("\u0903\u000A",
|
||||
&["\u0903", "\u000A"]), ("\u0903\u0308\u000A", &["\u0903\u0308", "\u000A"]),
|
||||
("\u0903\u0001", &["\u0903", "\u0001"]), ("\u0903\u0308\u0001", &["\u0903\u0308",
|
||||
"\u0001"]), ("\u0903\u0300", &["\u0903\u0300"]), ("\u0903\u0308\u0300",
|
||||
&["\u0903\u0308\u0300"]), ("\u0903\u1100", &["\u0903", "\u1100"]),
|
||||
("\u0903\u0308\u1100", &["\u0903\u0308", "\u1100"]), ("\u0903\u1160", &["\u0903",
|
||||
"\u1160"]), ("\u0903\u0308\u1160", &["\u0903\u0308", "\u1160"]), ("\u0903\u11A8",
|
||||
&["\u0903", "\u11A8"]), ("\u0903\u0308\u11A8", &["\u0903\u0308", "\u11A8"]),
|
||||
("\u0903\uAC00", &["\u0903", "\uAC00"]), ("\u0903\u0308\uAC00", &["\u0903\u0308",
|
||||
"\uAC00"]), ("\u0903\uAC01", &["\u0903", "\uAC01"]), ("\u0903\u0308\uAC01",
|
||||
&["\u0903\u0308", "\uAC01"]), ("\u0903\U0001F1E6", &["\u0903", "\U0001F1E6"]),
|
||||
("\u0903\u0308\U0001F1E6", &["\u0903\u0308", "\U0001F1E6"]), ("\u0903\u0378",
|
||||
&["\u0903", "\u0378"]), ("\u0903\u0308\u0378", &["\u0903\u0308", "\u0378"]),
|
||||
("\u1100\u0020", &["\u1100", "\u0020"]), ("\u1100\u0308\u0020", &["\u1100\u0308",
|
||||
"\u0020"]), ("\u1100\u000D", &["\u1100", "\u000D"]), ("\u1100\u0308\u000D",
|
||||
&["\u1100\u0308", "\u000D"]), ("\u1100\u000A", &["\u1100", "\u000A"]),
|
||||
("\u1100\u0308\u000A", &["\u1100\u0308", "\u000A"]), ("\u1100\u0001", &["\u1100",
|
||||
"\u0001"]), ("\u1100\u0308\u0001", &["\u1100\u0308", "\u0001"]), ("\u1100\u0300",
|
||||
&["\u1100\u0300"]), ("\u1100\u0308\u0300", &["\u1100\u0308\u0300"]), ("\u1100\u1100",
|
||||
&["\u1100\u1100"]), ("\u1100\u0308\u1100", &["\u1100\u0308", "\u1100"]),
|
||||
("\u1100\u1160", &["\u1100\u1160"]), ("\u1100\u0308\u1160", &["\u1100\u0308",
|
||||
"\u1160"]), ("\u1100\u11A8", &["\u1100", "\u11A8"]), ("\u1100\u0308\u11A8",
|
||||
&["\u1100\u0308", "\u11A8"]), ("\u1100\uAC00", &["\u1100\uAC00"]),
|
||||
("\u1100\u0308\uAC00", &["\u1100\u0308", "\uAC00"]), ("\u1100\uAC01",
|
||||
&["\u1100\uAC01"]), ("\u1100\u0308\uAC01", &["\u1100\u0308", "\uAC01"]),
|
||||
("\u1100\U0001F1E6", &["\u1100", "\U0001F1E6"]), ("\u1100\u0308\U0001F1E6",
|
||||
&["\u1100\u0308", "\U0001F1E6"]), ("\u1100\u0378", &["\u1100", "\u0378"]),
|
||||
("\u1100\u0308\u0378", &["\u1100\u0308", "\u0378"]), ("\u1160\u0020", &["\u1160",
|
||||
"\u0020"]), ("\u1160\u0308\u0020", &["\u1160\u0308", "\u0020"]), ("\u1160\u000D",
|
||||
&["\u1160", "\u000D"]), ("\u1160\u0308\u000D", &["\u1160\u0308", "\u000D"]),
|
||||
("\u1160\u000A", &["\u1160", "\u000A"]), ("\u1160\u0308\u000A", &["\u1160\u0308",
|
||||
"\u000A"]), ("\u1160\u0001", &["\u1160", "\u0001"]), ("\u1160\u0308\u0001",
|
||||
&["\u1160\u0308", "\u0001"]), ("\u1160\u0300", &["\u1160\u0300"]),
|
||||
("\u1160\u0308\u0300", &["\u1160\u0308\u0300"]), ("\u1160\u1100", &["\u1160",
|
||||
"\u1100"]), ("\u1160\u0308\u1100", &["\u1160\u0308", "\u1100"]), ("\u1160\u1160",
|
||||
&["\u1160\u1160"]), ("\u1160\u0308\u1160", &["\u1160\u0308", "\u1160"]),
|
||||
("\u1160\u11A8", &["\u1160\u11A8"]), ("\u1160\u0308\u11A8", &["\u1160\u0308",
|
||||
"\u11A8"]), ("\u1160\uAC00", &["\u1160", "\uAC00"]), ("\u1160\u0308\uAC00",
|
||||
&["\u1160\u0308", "\uAC00"]), ("\u1160\uAC01", &["\u1160", "\uAC01"]),
|
||||
("\u1160\u0308\uAC01", &["\u1160\u0308", "\uAC01"]), ("\u1160\U0001F1E6", &["\u1160",
|
||||
"\U0001F1E6"]), ("\u1160\u0308\U0001F1E6", &["\u1160\u0308", "\U0001F1E6"]),
|
||||
("\u1160\u0378", &["\u1160", "\u0378"]), ("\u1160\u0308\u0378", &["\u1160\u0308",
|
||||
"\u0378"]), ("\u11A8\u0020", &["\u11A8", "\u0020"]), ("\u11A8\u0308\u0020",
|
||||
&["\u11A8\u0308", "\u0020"]), ("\u11A8\u000D", &["\u11A8", "\u000D"]),
|
||||
("\u11A8\u0308\u000D", &["\u11A8\u0308", "\u000D"]), ("\u11A8\u000A", &["\u11A8",
|
||||
"\u000A"]), ("\u11A8\u0308\u000A", &["\u11A8\u0308", "\u000A"]), ("\u11A8\u0001",
|
||||
&["\u11A8", "\u0001"]), ("\u11A8\u0308\u0001", &["\u11A8\u0308", "\u0001"]),
|
||||
("\u11A8\u0300", &["\u11A8\u0300"]), ("\u11A8\u0308\u0300", &["\u11A8\u0308\u0300"]),
|
||||
("\u11A8\u1100", &["\u11A8", "\u1100"]), ("\u11A8\u0308\u1100", &["\u11A8\u0308",
|
||||
"\u1100"]), ("\u11A8\u1160", &["\u11A8", "\u1160"]), ("\u11A8\u0308\u1160",
|
||||
&["\u11A8\u0308", "\u1160"]), ("\u11A8\u11A8", &["\u11A8\u11A8"]),
|
||||
("\u11A8\u0308\u11A8", &["\u11A8\u0308", "\u11A8"]), ("\u11A8\uAC00", &["\u11A8",
|
||||
"\uAC00"]), ("\u11A8\u0308\uAC00", &["\u11A8\u0308", "\uAC00"]), ("\u11A8\uAC01",
|
||||
&["\u11A8", "\uAC01"]), ("\u11A8\u0308\uAC01", &["\u11A8\u0308", "\uAC01"]),
|
||||
("\u11A8\U0001F1E6", &["\u11A8", "\U0001F1E6"]), ("\u11A8\u0308\U0001F1E6",
|
||||
&["\u11A8\u0308", "\U0001F1E6"]), ("\u11A8\u0378", &["\u11A8", "\u0378"]),
|
||||
("\u11A8\u0308\u0378", &["\u11A8\u0308", "\u0378"]), ("\uAC00\u0020", &["\uAC00",
|
||||
"\u0020"]), ("\uAC00\u0308\u0020", &["\uAC00\u0308", "\u0020"]), ("\uAC00\u000D",
|
||||
&["\uAC00", "\u000D"]), ("\uAC00\u0308\u000D", &["\uAC00\u0308", "\u000D"]),
|
||||
("\uAC00\u000A", &["\uAC00", "\u000A"]), ("\uAC00\u0308\u000A", &["\uAC00\u0308",
|
||||
"\u000A"]), ("\uAC00\u0001", &["\uAC00", "\u0001"]), ("\uAC00\u0308\u0001",
|
||||
&["\uAC00\u0308", "\u0001"]), ("\uAC00\u0300", &["\uAC00\u0300"]),
|
||||
("\uAC00\u0308\u0300", &["\uAC00\u0308\u0300"]), ("\uAC00\u1100", &["\uAC00",
|
||||
"\u1100"]), ("\uAC00\u0308\u1100", &["\uAC00\u0308", "\u1100"]), ("\uAC00\u1160",
|
||||
&["\uAC00\u1160"]), ("\uAC00\u0308\u1160", &["\uAC00\u0308", "\u1160"]),
|
||||
("\uAC00\u11A8", &["\uAC00\u11A8"]), ("\uAC00\u0308\u11A8", &["\uAC00\u0308",
|
||||
"\u11A8"]), ("\uAC00\uAC00", &["\uAC00", "\uAC00"]), ("\uAC00\u0308\uAC00",
|
||||
&["\uAC00\u0308", "\uAC00"]), ("\uAC00\uAC01", &["\uAC00", "\uAC01"]),
|
||||
("\uAC00\u0308\uAC01", &["\uAC00\u0308", "\uAC01"]), ("\uAC00\U0001F1E6", &["\uAC00",
|
||||
"\U0001F1E6"]), ("\uAC00\u0308\U0001F1E6", &["\uAC00\u0308", "\U0001F1E6"]),
|
||||
("\uAC00\u0378", &["\uAC00", "\u0378"]), ("\uAC00\u0308\u0378", &["\uAC00\u0308",
|
||||
"\u0378"]), ("\uAC01\u0020", &["\uAC01", "\u0020"]), ("\uAC01\u0308\u0020",
|
||||
&["\uAC01\u0308", "\u0020"]), ("\uAC01\u000D", &["\uAC01", "\u000D"]),
|
||||
("\uAC01\u0308\u000D", &["\uAC01\u0308", "\u000D"]), ("\uAC01\u000A", &["\uAC01",
|
||||
"\u000A"]), ("\uAC01\u0308\u000A", &["\uAC01\u0308", "\u000A"]), ("\uAC01\u0001",
|
||||
&["\uAC01", "\u0001"]), ("\uAC01\u0308\u0001", &["\uAC01\u0308", "\u0001"]),
|
||||
("\uAC01\u0300", &["\uAC01\u0300"]), ("\uAC01\u0308\u0300", &["\uAC01\u0308\u0300"]),
|
||||
("\uAC01\u1100", &["\uAC01", "\u1100"]), ("\uAC01\u0308\u1100", &["\uAC01\u0308",
|
||||
"\u1100"]), ("\uAC01\u1160", &["\uAC01", "\u1160"]), ("\uAC01\u0308\u1160",
|
||||
&["\uAC01\u0308", "\u1160"]), ("\uAC01\u11A8", &["\uAC01\u11A8"]),
|
||||
("\uAC01\u0308\u11A8", &["\uAC01\u0308", "\u11A8"]), ("\uAC01\uAC00", &["\uAC01",
|
||||
"\uAC00"]), ("\uAC01\u0308\uAC00", &["\uAC01\u0308", "\uAC00"]), ("\uAC01\uAC01",
|
||||
&["\uAC01", "\uAC01"]), ("\uAC01\u0308\uAC01", &["\uAC01\u0308", "\uAC01"]),
|
||||
("\uAC01\U0001F1E6", &["\uAC01", "\U0001F1E6"]), ("\uAC01\u0308\U0001F1E6",
|
||||
&["\uAC01\u0308", "\U0001F1E6"]), ("\uAC01\u0378", &["\uAC01", "\u0378"]),
|
||||
("\uAC01\u0308\u0378", &["\uAC01\u0308", "\u0378"]), ("\U0001F1E6\u0020",
|
||||
&["\U0001F1E6", "\u0020"]), ("\U0001F1E6\u0308\u0020", &["\U0001F1E6\u0308",
|
||||
"\u0020"]), ("\U0001F1E6\u000D", &["\U0001F1E6", "\u000D"]),
|
||||
("\U0001F1E6\u0308\u000D", &["\U0001F1E6\u0308", "\u000D"]), ("\U0001F1E6\u000A",
|
||||
&["\U0001F1E6", "\u000A"]), ("\U0001F1E6\u0308\u000A", &["\U0001F1E6\u0308",
|
||||
"\u000A"]), ("\U0001F1E6\u0001", &["\U0001F1E6", "\u0001"]),
|
||||
("\U0001F1E6\u0308\u0001", &["\U0001F1E6\u0308", "\u0001"]), ("\U0001F1E6\u0300",
|
||||
&["\U0001F1E6\u0300"]), ("\U0001F1E6\u0308\u0300", &["\U0001F1E6\u0308\u0300"]),
|
||||
("\U0001F1E6\u1100", &["\U0001F1E6", "\u1100"]), ("\U0001F1E6\u0308\u1100",
|
||||
&["\U0001F1E6\u0308", "\u1100"]), ("\U0001F1E6\u1160", &["\U0001F1E6", "\u1160"]),
|
||||
("\U0001F1E6\u0308\u1160", &["\U0001F1E6\u0308", "\u1160"]), ("\U0001F1E6\u11A8",
|
||||
&["\U0001F1E6", "\u11A8"]), ("\U0001F1E6\u0308\u11A8", &["\U0001F1E6\u0308",
|
||||
"\u11A8"]), ("\U0001F1E6\uAC00", &["\U0001F1E6", "\uAC00"]),
|
||||
("\U0001F1E6\u0308\uAC00", &["\U0001F1E6\u0308", "\uAC00"]), ("\U0001F1E6\uAC01",
|
||||
&["\U0001F1E6", "\uAC01"]), ("\U0001F1E6\u0308\uAC01", &["\U0001F1E6\u0308",
|
||||
"\uAC01"]), ("\U0001F1E6\U0001F1E6", &["\U0001F1E6\U0001F1E6"]),
|
||||
("\U0001F1E6\u0308\U0001F1E6", &["\U0001F1E6\u0308", "\U0001F1E6"]),
|
||||
("\U0001F1E6\u0378", &["\U0001F1E6", "\u0378"]), ("\U0001F1E6\u0308\u0378",
|
||||
&["\U0001F1E6\u0308", "\u0378"]), ("\u0378\u0020", &["\u0378", "\u0020"]),
|
||||
("\u0378\u0308\u0020", &["\u0378\u0308", "\u0020"]), ("\u0378\u000D", &["\u0378",
|
||||
"\u000D"]), ("\u0378\u0308\u000D", &["\u0378\u0308", "\u000D"]), ("\u0378\u000A",
|
||||
&["\u0378", "\u000A"]), ("\u0378\u0308\u000A", &["\u0378\u0308", "\u000A"]),
|
||||
("\u0378\u0001", &["\u0378", "\u0001"]), ("\u0378\u0308\u0001", &["\u0378\u0308",
|
||||
"\u0001"]), ("\u0378\u0300", &["\u0378\u0300"]), ("\u0378\u0308\u0300",
|
||||
&["\u0378\u0308\u0300"]), ("\u0378\u1100", &["\u0378", "\u1100"]),
|
||||
("\u0378\u0308\u1100", &["\u0378\u0308", "\u1100"]), ("\u0378\u1160", &["\u0378",
|
||||
"\u1160"]), ("\u0378\u0308\u1160", &["\u0378\u0308", "\u1160"]), ("\u0378\u11A8",
|
||||
&["\u0378", "\u11A8"]), ("\u0378\u0308\u11A8", &["\u0378\u0308", "\u11A8"]),
|
||||
("\u0378\uAC00", &["\u0378", "\uAC00"]), ("\u0378\u0308\uAC00", &["\u0378\u0308",
|
||||
"\uAC00"]), ("\u0378\uAC01", &["\u0378", "\uAC01"]), ("\u0378\u0308\uAC01",
|
||||
&["\u0378\u0308", "\uAC01"]), ("\u0378\U0001F1E6", &["\u0378", "\U0001F1E6"]),
|
||||
("\u0378\u0308\U0001F1E6", &["\u0378\u0308", "\U0001F1E6"]), ("\u0378\u0378",
|
||||
&["\u0378", "\u0378"]), ("\u0378\u0308\u0378", &["\u0378\u0308", "\u0378"]),
|
||||
("\u0061\U0001F1E6\u0062", &["\u0061", "\U0001F1E6", "\u0062"]),
|
||||
("\U0001F1F7\U0001F1FA", &["\U0001F1F7\U0001F1FA"]),
|
||||
("\U0001F1F7\U0001F1FA\U0001F1F8", &["\U0001F1F7\U0001F1FA\U0001F1F8"]),
|
||||
("\U0001F1F7\U0001F1FA\U0001F1F8\U0001F1EA",
|
||||
&["\U0001F1F7\U0001F1FA\U0001F1F8\U0001F1EA"]),
|
||||
("\U0001F1F7\U0001F1FA\u200B\U0001F1F8\U0001F1EA", &["\U0001F1F7\U0001F1FA", "\u200B",
|
||||
"\U0001F1F8\U0001F1EA"]), ("\U0001F1E6\U0001F1E7\U0001F1E8",
|
||||
&["\U0001F1E6\U0001F1E7\U0001F1E8"]), ("\U0001F1E6\u200D\U0001F1E7\U0001F1E8",
|
||||
&["\U0001F1E6\u200D", "\U0001F1E7\U0001F1E8"]),
|
||||
("\U0001F1E6\U0001F1E7\u200D\U0001F1E8", &["\U0001F1E6\U0001F1E7\u200D",
|
||||
"\U0001F1E8"]), ("\u0020\u200D\u0646", &["\u0020\u200D", "\u0646"]),
|
||||
("\u0646\u200D\u0020", &["\u0646\u200D", "\u0020"]),
|
||||
("\u{20}\u{20}", &["\u{20}", "\u{20}"]),
|
||||
("\u{20}\u{308}\u{20}", &["\u{20}\u{308}", "\u{20}"]),
|
||||
("\u{20}\u{D}", &["\u{20}", "\u{D}"]),
|
||||
("\u{20}\u{308}\u{D}", &["\u{20}\u{308}", "\u{D}"]),
|
||||
("\u{20}\u{A}", &["\u{20}", "\u{A}"]),
|
||||
("\u{20}\u{308}\u{A}", &["\u{20}\u{308}", "\u{A}"]),
|
||||
("\u{20}\u{1}", &["\u{20}", "\u{1}"]),
|
||||
("\u{20}\u{308}\u{1}", &["\u{20}\u{308}", "\u{1}"]),
|
||||
("\u{20}\u{300}", &["\u{20}\u{300}"]),
|
||||
("\u{20}\u{308}\u{300}", &["\u{20}\u{308}\u{300}"]),
|
||||
("\u{20}\u{1100}", &["\u{20}", "\u{1100}"]),
|
||||
("\u{20}\u{308}\u{1100}", &["\u{20}\u{308}", "\u{1100}"]),
|
||||
("\u{20}\u{1160}", &["\u{20}", "\u{1160}"]),
|
||||
("\u{20}\u{308}\u{1160}", &["\u{20}\u{308}", "\u{1160}"]),
|
||||
("\u{20}\u{11A8}", &["\u{20}", "\u{11A8}"]),
|
||||
("\u{20}\u{308}\u{11A8}", &["\u{20}\u{308}", "\u{11A8}"]),
|
||||
("\u{20}\u{AC00}", &["\u{20}", "\u{AC00}"]),
|
||||
("\u{20}\u{308}\u{AC00}", &["\u{20}\u{308}", "\u{AC00}"]),
|
||||
("\u{20}\u{AC01}", &["\u{20}", "\u{AC01}"]),
|
||||
("\u{20}\u{308}\u{AC01}", &["\u{20}\u{308}", "\u{AC01}"]),
|
||||
("\u{20}\u{1F1E6}", &["\u{20}", "\u{1F1E6}"]),
|
||||
("\u{20}\u{308}\u{1F1E6}", &["\u{20}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{20}\u{378}", &["\u{20}", "\u{378}"]),
|
||||
("\u{20}\u{308}\u{378}", &["\u{20}\u{308}", "\u{378}"]),
|
||||
("\u{D}\u{20}", &["\u{D}", "\u{20}"]),
|
||||
("\u{D}\u{308}\u{20}", &["\u{D}", "\u{308}", "\u{20}"]),
|
||||
("\u{D}\u{D}", &["\u{D}", "\u{D}"]),
|
||||
("\u{D}\u{308}\u{D}", &["\u{D}", "\u{308}", "\u{D}"]),
|
||||
("\u{D}\u{A}", &["\u{D}\u{A}"]),
|
||||
("\u{D}\u{308}\u{A}", &["\u{D}", "\u{308}", "\u{A}"]),
|
||||
("\u{D}\u{1}", &["\u{D}", "\u{1}"]),
|
||||
("\u{D}\u{308}\u{1}", &["\u{D}", "\u{308}", "\u{1}"]),
|
||||
("\u{D}\u{300}", &["\u{D}", "\u{300}"]),
|
||||
("\u{D}\u{308}\u{300}", &["\u{D}", "\u{308}\u{300}"]),
|
||||
("\u{D}\u{903}", &["\u{D}", "\u{903}"]),
|
||||
("\u{D}\u{1100}", &["\u{D}", "\u{1100}"]),
|
||||
("\u{D}\u{308}\u{1100}", &["\u{D}", "\u{308}", "\u{1100}"]),
|
||||
("\u{D}\u{1160}", &["\u{D}", "\u{1160}"]),
|
||||
("\u{D}\u{308}\u{1160}", &["\u{D}", "\u{308}", "\u{1160}"]),
|
||||
("\u{D}\u{11A8}", &["\u{D}", "\u{11A8}"]),
|
||||
("\u{D}\u{308}\u{11A8}", &["\u{D}", "\u{308}", "\u{11A8}"]),
|
||||
("\u{D}\u{AC00}", &["\u{D}", "\u{AC00}"]),
|
||||
("\u{D}\u{308}\u{AC00}", &["\u{D}", "\u{308}", "\u{AC00}"]),
|
||||
("\u{D}\u{AC01}", &["\u{D}", "\u{AC01}"]),
|
||||
("\u{D}\u{308}\u{AC01}", &["\u{D}", "\u{308}", "\u{AC01}"]),
|
||||
("\u{D}\u{1F1E6}", &["\u{D}", "\u{1F1E6}"]),
|
||||
("\u{D}\u{308}\u{1F1E6}", &["\u{D}", "\u{308}", "\u{1F1E6}"]),
|
||||
("\u{D}\u{378}", &["\u{D}", "\u{378}"]),
|
||||
("\u{D}\u{308}\u{378}", &["\u{D}", "\u{308}", "\u{378}"]),
|
||||
("\u{A}\u{20}", &["\u{A}", "\u{20}"]),
|
||||
("\u{A}\u{308}\u{20}", &["\u{A}", "\u{308}", "\u{20}"]),
|
||||
("\u{A}\u{D}", &["\u{A}", "\u{D}"]),
|
||||
("\u{A}\u{308}\u{D}", &["\u{A}", "\u{308}", "\u{D}"]),
|
||||
("\u{A}\u{A}", &["\u{A}", "\u{A}"]),
|
||||
("\u{A}\u{308}\u{A}", &["\u{A}", "\u{308}", "\u{A}"]),
|
||||
("\u{A}\u{1}", &["\u{A}", "\u{1}"]),
|
||||
("\u{A}\u{308}\u{1}", &["\u{A}", "\u{308}", "\u{1}"]),
|
||||
("\u{A}\u{300}", &["\u{A}", "\u{300}"]),
|
||||
("\u{A}\u{308}\u{300}", &["\u{A}", "\u{308}\u{300}"]),
|
||||
("\u{A}\u{903}", &["\u{A}", "\u{903}"]),
|
||||
("\u{A}\u{1100}", &["\u{A}", "\u{1100}"]),
|
||||
("\u{A}\u{308}\u{1100}", &["\u{A}", "\u{308}", "\u{1100}"]),
|
||||
("\u{A}\u{1160}", &["\u{A}", "\u{1160}"]),
|
||||
("\u{A}\u{308}\u{1160}", &["\u{A}", "\u{308}", "\u{1160}"]),
|
||||
("\u{A}\u{11A8}", &["\u{A}", "\u{11A8}"]),
|
||||
("\u{A}\u{308}\u{11A8}", &["\u{A}", "\u{308}", "\u{11A8}"]),
|
||||
("\u{A}\u{AC00}", &["\u{A}", "\u{AC00}"]),
|
||||
("\u{A}\u{308}\u{AC00}", &["\u{A}", "\u{308}", "\u{AC00}"]),
|
||||
("\u{A}\u{AC01}", &["\u{A}", "\u{AC01}"]),
|
||||
("\u{A}\u{308}\u{AC01}", &["\u{A}", "\u{308}", "\u{AC01}"]),
|
||||
("\u{A}\u{1F1E6}", &["\u{A}", "\u{1F1E6}"]),
|
||||
("\u{A}\u{308}\u{1F1E6}", &["\u{A}", "\u{308}", "\u{1F1E6}"]),
|
||||
("\u{A}\u{378}", &["\u{A}", "\u{378}"]),
|
||||
("\u{A}\u{308}\u{378}", &["\u{A}", "\u{308}", "\u{378}"]),
|
||||
("\u{1}\u{20}", &["\u{1}", "\u{20}"]),
|
||||
("\u{1}\u{308}\u{20}", &["\u{1}", "\u{308}", "\u{20}"]),
|
||||
("\u{1}\u{D}", &["\u{1}", "\u{D}"]),
|
||||
("\u{1}\u{308}\u{D}", &["\u{1}", "\u{308}", "\u{D}"]),
|
||||
("\u{1}\u{A}", &["\u{1}", "\u{A}"]),
|
||||
("\u{1}\u{308}\u{A}", &["\u{1}", "\u{308}", "\u{A}"]),
|
||||
("\u{1}\u{1}", &["\u{1}", "\u{1}"]),
|
||||
("\u{1}\u{308}\u{1}", &["\u{1}", "\u{308}", "\u{1}"]),
|
||||
("\u{1}\u{300}", &["\u{1}", "\u{300}"]),
|
||||
("\u{1}\u{308}\u{300}", &["\u{1}", "\u{308}\u{300}"]),
|
||||
("\u{1}\u{903}", &["\u{1}", "\u{903}"]),
|
||||
("\u{1}\u{1100}", &["\u{1}", "\u{1100}"]),
|
||||
("\u{1}\u{308}\u{1100}", &["\u{1}", "\u{308}", "\u{1100}"]),
|
||||
("\u{1}\u{1160}", &["\u{1}", "\u{1160}"]),
|
||||
("\u{1}\u{308}\u{1160}", &["\u{1}", "\u{308}", "\u{1160}"]),
|
||||
("\u{1}\u{11A8}", &["\u{1}", "\u{11A8}"]),
|
||||
("\u{1}\u{308}\u{11A8}", &["\u{1}", "\u{308}", "\u{11A8}"]),
|
||||
("\u{1}\u{AC00}", &["\u{1}", "\u{AC00}"]),
|
||||
("\u{1}\u{308}\u{AC00}", &["\u{1}", "\u{308}", "\u{AC00}"]),
|
||||
("\u{1}\u{AC01}", &["\u{1}", "\u{AC01}"]),
|
||||
("\u{1}\u{308}\u{AC01}", &["\u{1}", "\u{308}", "\u{AC01}"]),
|
||||
("\u{1}\u{1F1E6}", &["\u{1}", "\u{1F1E6}"]),
|
||||
("\u{1}\u{308}\u{1F1E6}", &["\u{1}", "\u{308}", "\u{1F1E6}"]),
|
||||
("\u{1}\u{378}", &["\u{1}", "\u{378}"]),
|
||||
("\u{1}\u{308}\u{378}", &["\u{1}", "\u{308}", "\u{378}"]),
|
||||
("\u{300}\u{20}", &["\u{300}", "\u{20}"]),
|
||||
("\u{300}\u{308}\u{20}", &["\u{300}\u{308}", "\u{20}"]),
|
||||
("\u{300}\u{D}", &["\u{300}", "\u{D}"]),
|
||||
("\u{300}\u{308}\u{D}", &["\u{300}\u{308}", "\u{D}"]),
|
||||
("\u{300}\u{A}", &["\u{300}", "\u{A}"]),
|
||||
("\u{300}\u{308}\u{A}", &["\u{300}\u{308}", "\u{A}"]),
|
||||
("\u{300}\u{1}", &["\u{300}", "\u{1}"]),
|
||||
("\u{300}\u{308}\u{1}", &["\u{300}\u{308}", "\u{1}"]),
|
||||
("\u{300}\u{300}", &["\u{300}\u{300}"]),
|
||||
("\u{300}\u{308}\u{300}", &["\u{300}\u{308}\u{300}"]),
|
||||
("\u{300}\u{1100}", &["\u{300}", "\u{1100}"]),
|
||||
("\u{300}\u{308}\u{1100}", &["\u{300}\u{308}", "\u{1100}"]),
|
||||
("\u{300}\u{1160}", &["\u{300}", "\u{1160}"]),
|
||||
("\u{300}\u{308}\u{1160}", &["\u{300}\u{308}", "\u{1160}"]),
|
||||
("\u{300}\u{11A8}", &["\u{300}", "\u{11A8}"]),
|
||||
("\u{300}\u{308}\u{11A8}", &["\u{300}\u{308}", "\u{11A8}"]),
|
||||
("\u{300}\u{AC00}", &["\u{300}", "\u{AC00}"]),
|
||||
("\u{300}\u{308}\u{AC00}", &["\u{300}\u{308}", "\u{AC00}"]),
|
||||
("\u{300}\u{AC01}", &["\u{300}", "\u{AC01}"]),
|
||||
("\u{300}\u{308}\u{AC01}", &["\u{300}\u{308}", "\u{AC01}"]),
|
||||
("\u{300}\u{1F1E6}", &["\u{300}", "\u{1F1E6}"]),
|
||||
("\u{300}\u{308}\u{1F1E6}", &["\u{300}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{300}\u{378}", &["\u{300}", "\u{378}"]),
|
||||
("\u{300}\u{308}\u{378}", &["\u{300}\u{308}", "\u{378}"]),
|
||||
("\u{903}\u{20}", &["\u{903}", "\u{20}"]),
|
||||
("\u{903}\u{308}\u{20}", &["\u{903}\u{308}", "\u{20}"]),
|
||||
("\u{903}\u{D}", &["\u{903}", "\u{D}"]),
|
||||
("\u{903}\u{308}\u{D}", &["\u{903}\u{308}", "\u{D}"]),
|
||||
("\u{903}\u{A}", &["\u{903}", "\u{A}"]),
|
||||
("\u{903}\u{308}\u{A}", &["\u{903}\u{308}", "\u{A}"]),
|
||||
("\u{903}\u{1}", &["\u{903}", "\u{1}"]),
|
||||
("\u{903}\u{308}\u{1}", &["\u{903}\u{308}", "\u{1}"]),
|
||||
("\u{903}\u{300}", &["\u{903}\u{300}"]),
|
||||
("\u{903}\u{308}\u{300}", &["\u{903}\u{308}\u{300}"]),
|
||||
("\u{903}\u{1100}", &["\u{903}", "\u{1100}"]),
|
||||
("\u{903}\u{308}\u{1100}", &["\u{903}\u{308}", "\u{1100}"]),
|
||||
("\u{903}\u{1160}", &["\u{903}", "\u{1160}"]),
|
||||
("\u{903}\u{308}\u{1160}", &["\u{903}\u{308}", "\u{1160}"]),
|
||||
("\u{903}\u{11A8}", &["\u{903}", "\u{11A8}"]),
|
||||
("\u{903}\u{308}\u{11A8}", &["\u{903}\u{308}", "\u{11A8}"]),
|
||||
("\u{903}\u{AC00}", &["\u{903}", "\u{AC00}"]),
|
||||
("\u{903}\u{308}\u{AC00}", &["\u{903}\u{308}", "\u{AC00}"]),
|
||||
("\u{903}\u{AC01}", &["\u{903}", "\u{AC01}"]),
|
||||
("\u{903}\u{308}\u{AC01}", &["\u{903}\u{308}", "\u{AC01}"]),
|
||||
("\u{903}\u{1F1E6}", &["\u{903}", "\u{1F1E6}"]),
|
||||
("\u{903}\u{308}\u{1F1E6}", &["\u{903}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{903}\u{378}", &["\u{903}", "\u{378}"]),
|
||||
("\u{903}\u{308}\u{378}", &["\u{903}\u{308}", "\u{378}"]),
|
||||
("\u{1100}\u{20}", &["\u{1100}", "\u{20}"]),
|
||||
("\u{1100}\u{308}\u{20}", &["\u{1100}\u{308}", "\u{20}"]),
|
||||
("\u{1100}\u{D}", &["\u{1100}", "\u{D}"]),
|
||||
("\u{1100}\u{308}\u{D}", &["\u{1100}\u{308}", "\u{D}"]),
|
||||
("\u{1100}\u{A}", &["\u{1100}", "\u{A}"]),
|
||||
("\u{1100}\u{308}\u{A}", &["\u{1100}\u{308}", "\u{A}"]),
|
||||
("\u{1100}\u{1}", &["\u{1100}", "\u{1}"]),
|
||||
("\u{1100}\u{308}\u{1}", &["\u{1100}\u{308}", "\u{1}"]),
|
||||
("\u{1100}\u{300}", &["\u{1100}\u{300}"]),
|
||||
("\u{1100}\u{308}\u{300}", &["\u{1100}\u{308}\u{300}"]),
|
||||
("\u{1100}\u{1100}", &["\u{1100}\u{1100}"]),
|
||||
("\u{1100}\u{308}\u{1100}", &["\u{1100}\u{308}", "\u{1100}"]),
|
||||
("\u{1100}\u{1160}", &["\u{1100}\u{1160}"]),
|
||||
("\u{1100}\u{308}\u{1160}", &["\u{1100}\u{308}", "\u{1160}"]),
|
||||
("\u{1100}\u{11A8}", &["\u{1100}", "\u{11A8}"]),
|
||||
("\u{1100}\u{308}\u{11A8}", &["\u{1100}\u{308}", "\u{11A8}"]),
|
||||
("\u{1100}\u{AC00}", &["\u{1100}\u{AC00}"]),
|
||||
("\u{1100}\u{308}\u{AC00}", &["\u{1100}\u{308}", "\u{AC00}"]),
|
||||
("\u{1100}\u{AC01}", &["\u{1100}\u{AC01}"]),
|
||||
("\u{1100}\u{308}\u{AC01}", &["\u{1100}\u{308}", "\u{AC01}"]),
|
||||
("\u{1100}\u{1F1E6}", &["\u{1100}", "\u{1F1E6}"]),
|
||||
("\u{1100}\u{308}\u{1F1E6}", &["\u{1100}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{1100}\u{378}", &["\u{1100}", "\u{378}"]),
|
||||
("\u{1100}\u{308}\u{378}", &["\u{1100}\u{308}", "\u{378}"]),
|
||||
("\u{1160}\u{20}", &["\u{1160}", "\u{20}"]),
|
||||
("\u{1160}\u{308}\u{20}", &["\u{1160}\u{308}", "\u{20}"]),
|
||||
("\u{1160}\u{D}", &["\u{1160}", "\u{D}"]),
|
||||
("\u{1160}\u{308}\u{D}", &["\u{1160}\u{308}", "\u{D}"]),
|
||||
("\u{1160}\u{A}", &["\u{1160}", "\u{A}"]),
|
||||
("\u{1160}\u{308}\u{A}", &["\u{1160}\u{308}", "\u{A}"]),
|
||||
("\u{1160}\u{1}", &["\u{1160}", "\u{1}"]),
|
||||
("\u{1160}\u{308}\u{1}", &["\u{1160}\u{308}", "\u{1}"]),
|
||||
("\u{1160}\u{300}", &["\u{1160}\u{300}"]),
|
||||
("\u{1160}\u{308}\u{300}", &["\u{1160}\u{308}\u{300}"]),
|
||||
("\u{1160}\u{1100}", &["\u{1160}", "\u{1100}"]),
|
||||
("\u{1160}\u{308}\u{1100}", &["\u{1160}\u{308}", "\u{1100}"]),
|
||||
("\u{1160}\u{1160}", &["\u{1160}\u{1160}"]),
|
||||
("\u{1160}\u{308}\u{1160}", &["\u{1160}\u{308}", "\u{1160}"]),
|
||||
("\u{1160}\u{11A8}", &["\u{1160}\u{11A8}"]),
|
||||
("\u{1160}\u{308}\u{11A8}", &["\u{1160}\u{308}", "\u{11A8}"]),
|
||||
("\u{1160}\u{AC00}", &["\u{1160}", "\u{AC00}"]),
|
||||
("\u{1160}\u{308}\u{AC00}", &["\u{1160}\u{308}", "\u{AC00}"]),
|
||||
("\u{1160}\u{AC01}", &["\u{1160}", "\u{AC01}"]),
|
||||
("\u{1160}\u{308}\u{AC01}", &["\u{1160}\u{308}", "\u{AC01}"]),
|
||||
("\u{1160}\u{1F1E6}", &["\u{1160}", "\u{1F1E6}"]),
|
||||
("\u{1160}\u{308}\u{1F1E6}", &["\u{1160}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{1160}\u{378}", &["\u{1160}", "\u{378}"]),
|
||||
("\u{1160}\u{308}\u{378}", &["\u{1160}\u{308}", "\u{378}"]),
|
||||
("\u{11A8}\u{20}", &["\u{11A8}", "\u{20}"]),
|
||||
("\u{11A8}\u{308}\u{20}", &["\u{11A8}\u{308}", "\u{20}"]),
|
||||
("\u{11A8}\u{D}", &["\u{11A8}", "\u{D}"]),
|
||||
("\u{11A8}\u{308}\u{D}", &["\u{11A8}\u{308}", "\u{D}"]),
|
||||
("\u{11A8}\u{A}", &["\u{11A8}", "\u{A}"]),
|
||||
("\u{11A8}\u{308}\u{A}", &["\u{11A8}\u{308}", "\u{A}"]),
|
||||
("\u{11A8}\u{1}", &["\u{11A8}", "\u{1}"]),
|
||||
("\u{11A8}\u{308}\u{1}", &["\u{11A8}\u{308}", "\u{1}"]),
|
||||
("\u{11A8}\u{300}", &["\u{11A8}\u{300}"]),
|
||||
("\u{11A8}\u{308}\u{300}", &["\u{11A8}\u{308}\u{300}"]),
|
||||
("\u{11A8}\u{1100}", &["\u{11A8}", "\u{1100}"]),
|
||||
("\u{11A8}\u{308}\u{1100}", &["\u{11A8}\u{308}", "\u{1100}"]),
|
||||
("\u{11A8}\u{1160}", &["\u{11A8}", "\u{1160}"]),
|
||||
("\u{11A8}\u{308}\u{1160}", &["\u{11A8}\u{308}", "\u{1160}"]),
|
||||
("\u{11A8}\u{11A8}", &["\u{11A8}\u{11A8}"]),
|
||||
("\u{11A8}\u{308}\u{11A8}", &["\u{11A8}\u{308}", "\u{11A8}"]),
|
||||
("\u{11A8}\u{AC00}", &["\u{11A8}", "\u{AC00}"]),
|
||||
("\u{11A8}\u{308}\u{AC00}", &["\u{11A8}\u{308}", "\u{AC00}"]),
|
||||
("\u{11A8}\u{AC01}", &["\u{11A8}", "\u{AC01}"]),
|
||||
("\u{11A8}\u{308}\u{AC01}", &["\u{11A8}\u{308}", "\u{AC01}"]),
|
||||
("\u{11A8}\u{1F1E6}", &["\u{11A8}", "\u{1F1E6}"]),
|
||||
("\u{11A8}\u{308}\u{1F1E6}", &["\u{11A8}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{11A8}\u{378}", &["\u{11A8}", "\u{378}"]),
|
||||
("\u{11A8}\u{308}\u{378}", &["\u{11A8}\u{308}", "\u{378}"]),
|
||||
("\u{AC00}\u{20}", &["\u{AC00}", "\u{20}"]),
|
||||
("\u{AC00}\u{308}\u{20}", &["\u{AC00}\u{308}", "\u{20}"]),
|
||||
("\u{AC00}\u{D}", &["\u{AC00}", "\u{D}"]),
|
||||
("\u{AC00}\u{308}\u{D}", &["\u{AC00}\u{308}", "\u{D}"]),
|
||||
("\u{AC00}\u{A}", &["\u{AC00}", "\u{A}"]),
|
||||
("\u{AC00}\u{308}\u{A}", &["\u{AC00}\u{308}", "\u{A}"]),
|
||||
("\u{AC00}\u{1}", &["\u{AC00}", "\u{1}"]),
|
||||
("\u{AC00}\u{308}\u{1}", &["\u{AC00}\u{308}", "\u{1}"]),
|
||||
("\u{AC00}\u{300}", &["\u{AC00}\u{300}"]),
|
||||
("\u{AC00}\u{308}\u{300}", &["\u{AC00}\u{308}\u{300}"]),
|
||||
("\u{AC00}\u{1100}", &["\u{AC00}", "\u{1100}"]),
|
||||
("\u{AC00}\u{308}\u{1100}", &["\u{AC00}\u{308}", "\u{1100}"]),
|
||||
("\u{AC00}\u{1160}", &["\u{AC00}\u{1160}"]),
|
||||
("\u{AC00}\u{308}\u{1160}", &["\u{AC00}\u{308}", "\u{1160}"]),
|
||||
("\u{AC00}\u{11A8}", &["\u{AC00}\u{11A8}"]),
|
||||
("\u{AC00}\u{308}\u{11A8}", &["\u{AC00}\u{308}", "\u{11A8}"]),
|
||||
("\u{AC00}\u{AC00}", &["\u{AC00}", "\u{AC00}"]),
|
||||
("\u{AC00}\u{308}\u{AC00}", &["\u{AC00}\u{308}", "\u{AC00}"]),
|
||||
("\u{AC00}\u{AC01}", &["\u{AC00}", "\u{AC01}"]),
|
||||
("\u{AC00}\u{308}\u{AC01}", &["\u{AC00}\u{308}", "\u{AC01}"]),
|
||||
("\u{AC00}\u{1F1E6}", &["\u{AC00}", "\u{1F1E6}"]),
|
||||
("\u{AC00}\u{308}\u{1F1E6}", &["\u{AC00}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{AC00}\u{378}", &["\u{AC00}", "\u{378}"]),
|
||||
("\u{AC00}\u{308}\u{378}", &["\u{AC00}\u{308}", "\u{378}"]),
|
||||
("\u{AC01}\u{20}", &["\u{AC01}", "\u{20}"]),
|
||||
("\u{AC01}\u{308}\u{20}", &["\u{AC01}\u{308}", "\u{20}"]),
|
||||
("\u{AC01}\u{D}", &["\u{AC01}", "\u{D}"]),
|
||||
("\u{AC01}\u{308}\u{D}", &["\u{AC01}\u{308}", "\u{D}"]),
|
||||
("\u{AC01}\u{A}", &["\u{AC01}", "\u{A}"]),
|
||||
("\u{AC01}\u{308}\u{A}", &["\u{AC01}\u{308}", "\u{A}"]),
|
||||
("\u{AC01}\u{1}", &["\u{AC01}", "\u{1}"]),
|
||||
("\u{AC01}\u{308}\u{1}", &["\u{AC01}\u{308}", "\u{1}"]),
|
||||
("\u{AC01}\u{300}", &["\u{AC01}\u{300}"]),
|
||||
("\u{AC01}\u{308}\u{300}", &["\u{AC01}\u{308}\u{300}"]),
|
||||
("\u{AC01}\u{1100}", &["\u{AC01}", "\u{1100}"]),
|
||||
("\u{AC01}\u{308}\u{1100}", &["\u{AC01}\u{308}", "\u{1100}"]),
|
||||
("\u{AC01}\u{1160}", &["\u{AC01}", "\u{1160}"]),
|
||||
("\u{AC01}\u{308}\u{1160}", &["\u{AC01}\u{308}", "\u{1160}"]),
|
||||
("\u{AC01}\u{11A8}", &["\u{AC01}\u{11A8}"]),
|
||||
("\u{AC01}\u{308}\u{11A8}", &["\u{AC01}\u{308}", "\u{11A8}"]),
|
||||
("\u{AC01}\u{AC00}", &["\u{AC01}", "\u{AC00}"]),
|
||||
("\u{AC01}\u{308}\u{AC00}", &["\u{AC01}\u{308}", "\u{AC00}"]),
|
||||
("\u{AC01}\u{AC01}", &["\u{AC01}", "\u{AC01}"]),
|
||||
("\u{AC01}\u{308}\u{AC01}", &["\u{AC01}\u{308}", "\u{AC01}"]),
|
||||
("\u{AC01}\u{1F1E6}", &["\u{AC01}", "\u{1F1E6}"]),
|
||||
("\u{AC01}\u{308}\u{1F1E6}", &["\u{AC01}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{AC01}\u{378}", &["\u{AC01}", "\u{378}"]),
|
||||
("\u{AC01}\u{308}\u{378}", &["\u{AC01}\u{308}", "\u{378}"]),
|
||||
("\u{1F1E6}\u{20}", &["\u{1F1E6}", "\u{20}"]),
|
||||
("\u{1F1E6}\u{308}\u{20}", &["\u{1F1E6}\u{308}", "\u{20}"]),
|
||||
("\u{1F1E6}\u{D}", &["\u{1F1E6}", "\u{D}"]),
|
||||
("\u{1F1E6}\u{308}\u{D}", &["\u{1F1E6}\u{308}", "\u{D}"]),
|
||||
("\u{1F1E6}\u{A}", &["\u{1F1E6}", "\u{A}"]),
|
||||
("\u{1F1E6}\u{308}\u{A}", &["\u{1F1E6}\u{308}", "\u{A}"]),
|
||||
("\u{1F1E6}\u{1}", &["\u{1F1E6}", "\u{1}"]),
|
||||
("\u{1F1E6}\u{308}\u{1}", &["\u{1F1E6}\u{308}", "\u{1}"]),
|
||||
("\u{1F1E6}\u{300}", &["\u{1F1E6}\u{300}"]),
|
||||
("\u{1F1E6}\u{308}\u{300}", &["\u{1F1E6}\u{308}\u{300}"]),
|
||||
("\u{1F1E6}\u{1100}", &["\u{1F1E6}", "\u{1100}"]),
|
||||
("\u{1F1E6}\u{308}\u{1100}", &["\u{1F1E6}\u{308}", "\u{1100}"]),
|
||||
("\u{1F1E6}\u{1160}", &["\u{1F1E6}", "\u{1160}"]),
|
||||
("\u{1F1E6}\u{308}\u{1160}", &["\u{1F1E6}\u{308}", "\u{1160}"]),
|
||||
("\u{1F1E6}\u{11A8}", &["\u{1F1E6}", "\u{11A8}"]),
|
||||
("\u{1F1E6}\u{308}\u{11A8}", &["\u{1F1E6}\u{308}", "\u{11A8}"]),
|
||||
("\u{1F1E6}\u{AC00}", &["\u{1F1E6}", "\u{AC00}"]),
|
||||
("\u{1F1E6}\u{308}\u{AC00}", &["\u{1F1E6}\u{308}", "\u{AC00}"]),
|
||||
("\u{1F1E6}\u{AC01}", &["\u{1F1E6}", "\u{AC01}"]),
|
||||
("\u{1F1E6}\u{308}\u{AC01}", &["\u{1F1E6}\u{308}", "\u{AC01}"]),
|
||||
("\u{1F1E6}\u{1F1E6}", &["\u{1F1E6}\u{1F1E6}"]),
|
||||
("\u{1F1E6}\u{308}\u{1F1E6}", &["\u{1F1E6}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{1F1E6}\u{378}", &["\u{1F1E6}", "\u{378}"]),
|
||||
("\u{1F1E6}\u{308}\u{378}", &["\u{1F1E6}\u{308}", "\u{378}"]),
|
||||
("\u{378}\u{20}", &["\u{378}", "\u{20}"]),
|
||||
("\u{378}\u{308}\u{20}", &["\u{378}\u{308}", "\u{20}"]),
|
||||
("\u{378}\u{D}", &["\u{378}", "\u{D}"]),
|
||||
("\u{378}\u{308}\u{D}", &["\u{378}\u{308}", "\u{D}"]),
|
||||
("\u{378}\u{A}", &["\u{378}", "\u{A}"]),
|
||||
("\u{378}\u{308}\u{A}", &["\u{378}\u{308}", "\u{A}"]),
|
||||
("\u{378}\u{1}", &["\u{378}", "\u{1}"]),
|
||||
("\u{378}\u{308}\u{1}", &["\u{378}\u{308}", "\u{1}"]),
|
||||
("\u{378}\u{300}", &["\u{378}\u{300}"]),
|
||||
("\u{378}\u{308}\u{300}", &["\u{378}\u{308}\u{300}"]),
|
||||
("\u{378}\u{1100}", &["\u{378}", "\u{1100}"]),
|
||||
("\u{378}\u{308}\u{1100}", &["\u{378}\u{308}", "\u{1100}"]),
|
||||
("\u{378}\u{1160}", &["\u{378}", "\u{1160}"]),
|
||||
("\u{378}\u{308}\u{1160}", &["\u{378}\u{308}", "\u{1160}"]),
|
||||
("\u{378}\u{11A8}", &["\u{378}", "\u{11A8}"]),
|
||||
("\u{378}\u{308}\u{11A8}", &["\u{378}\u{308}", "\u{11A8}"]),
|
||||
("\u{378}\u{AC00}", &["\u{378}", "\u{AC00}"]),
|
||||
("\u{378}\u{308}\u{AC00}", &["\u{378}\u{308}", "\u{AC00}"]),
|
||||
("\u{378}\u{AC01}", &["\u{378}", "\u{AC01}"]),
|
||||
("\u{378}\u{308}\u{AC01}", &["\u{378}\u{308}", "\u{AC01}"]),
|
||||
("\u{378}\u{1F1E6}", &["\u{378}", "\u{1F1E6}"]),
|
||||
("\u{378}\u{308}\u{1F1E6}", &["\u{378}\u{308}", "\u{1F1E6}"]),
|
||||
("\u{378}\u{378}", &["\u{378}", "\u{378}"]),
|
||||
("\u{378}\u{308}\u{378}", &["\u{378}\u{308}", "\u{378}"]),
|
||||
("\u{61}\u{1F1E6}\u{62}", &["\u{61}", "\u{1F1E6}", "\u{62}"]),
|
||||
("\u{1F1F7}\u{1F1FA}", &["\u{1F1F7}\u{1F1FA}"]),
|
||||
("\u{1F1F7}\u{1F1FA}\u{1F1F8}", &["\u{1F1F7}\u{1F1FA}\u{1F1F8}"]),
|
||||
("\u{1F1F7}\u{1F1FA}\u{1F1F8}\u{1F1EA}",
|
||||
&["\u{1F1F7}\u{1F1FA}\u{1F1F8}\u{1F1EA}"]),
|
||||
("\u{1F1F7}\u{1F1FA}\u{200B}\u{1F1F8}\u{1F1EA}",
|
||||
&["\u{1F1F7}\u{1F1FA}", "\u{200B}", "\u{1F1F8}\u{1F1EA}"]),
|
||||
("\u{1F1E6}\u{1F1E7}\u{1F1E8}", &["\u{1F1E6}\u{1F1E7}\u{1F1E8}"]),
|
||||
("\u{1F1E6}\u{200D}\u{1F1E7}\u{1F1E8}", &["\u{1F1E6}\u{200D}",
|
||||
"\u{1F1E7}\u{1F1E8}"]),
|
||||
("\u{1F1E6}\u{1F1E7}\u{200D}\u{1F1E8}",
|
||||
&["\u{1F1E6}\u{1F1E7}\u{200D}", "\u{1F1E8}"]),
|
||||
("\u{20}\u{200D}\u{646}", &["\u{20}\u{200D}", "\u{646}"]),
|
||||
("\u{646}\u{200D}\u{20}", &["\u{646}\u{200D}", "\u{20}"]),
|
||||
];
|
||||
|
||||
let test_diff: [(_, &[_], &[_]), .. 23] = [
|
||||
("\u0020\u0903", &["\u0020\u0903"], &["\u0020", "\u0903"]), ("\u0020\u0308\u0903",
|
||||
&["\u0020\u0308\u0903"], &["\u0020\u0308", "\u0903"]), ("\u000D\u0308\u0903",
|
||||
&["\u000D", "\u0308\u0903"], &["\u000D", "\u0308", "\u0903"]), ("\u000A\u0308\u0903",
|
||||
&["\u000A", "\u0308\u0903"], &["\u000A", "\u0308", "\u0903"]), ("\u0001\u0308\u0903",
|
||||
&["\u0001", "\u0308\u0903"], &["\u0001", "\u0308", "\u0903"]), ("\u0300\u0903",
|
||||
&["\u0300\u0903"], &["\u0300", "\u0903"]), ("\u0300\u0308\u0903",
|
||||
&["\u0300\u0308\u0903"], &["\u0300\u0308", "\u0903"]), ("\u0903\u0903",
|
||||
&["\u0903\u0903"], &["\u0903", "\u0903"]), ("\u0903\u0308\u0903",
|
||||
&["\u0903\u0308\u0903"], &["\u0903\u0308", "\u0903"]), ("\u1100\u0903",
|
||||
&["\u1100\u0903"], &["\u1100", "\u0903"]), ("\u1100\u0308\u0903",
|
||||
&["\u1100\u0308\u0903"], &["\u1100\u0308", "\u0903"]), ("\u1160\u0903",
|
||||
&["\u1160\u0903"], &["\u1160", "\u0903"]), ("\u1160\u0308\u0903",
|
||||
&["\u1160\u0308\u0903"], &["\u1160\u0308", "\u0903"]), ("\u11A8\u0903",
|
||||
&["\u11A8\u0903"], &["\u11A8", "\u0903"]), ("\u11A8\u0308\u0903",
|
||||
&["\u11A8\u0308\u0903"], &["\u11A8\u0308", "\u0903"]), ("\uAC00\u0903",
|
||||
&["\uAC00\u0903"], &["\uAC00", "\u0903"]), ("\uAC00\u0308\u0903",
|
||||
&["\uAC00\u0308\u0903"], &["\uAC00\u0308", "\u0903"]), ("\uAC01\u0903",
|
||||
&["\uAC01\u0903"], &["\uAC01", "\u0903"]), ("\uAC01\u0308\u0903",
|
||||
&["\uAC01\u0308\u0903"], &["\uAC01\u0308", "\u0903"]), ("\U0001F1E6\u0903",
|
||||
&["\U0001F1E6\u0903"], &["\U0001F1E6", "\u0903"]), ("\U0001F1E6\u0308\u0903",
|
||||
&["\U0001F1E6\u0308\u0903"], &["\U0001F1E6\u0308", "\u0903"]), ("\u0378\u0903",
|
||||
&["\u0378\u0903"], &["\u0378", "\u0903"]), ("\u0378\u0308\u0903",
|
||||
&["\u0378\u0308\u0903"], &["\u0378\u0308", "\u0903"]),
|
||||
("\u{20}\u{903}", &["\u{20}\u{903}"], &["\u{20}", "\u{903}"]), ("\u{20}\u{308}\u{903}",
|
||||
&["\u{20}\u{308}\u{903}"], &["\u{20}\u{308}", "\u{903}"]), ("\u{D}\u{308}\u{903}",
|
||||
&["\u{D}", "\u{308}\u{903}"], &["\u{D}", "\u{308}", "\u{903}"]), ("\u{A}\u{308}\u{903}",
|
||||
&["\u{A}", "\u{308}\u{903}"], &["\u{A}", "\u{308}", "\u{903}"]), ("\u{1}\u{308}\u{903}",
|
||||
&["\u{1}", "\u{308}\u{903}"], &["\u{1}", "\u{308}", "\u{903}"]), ("\u{300}\u{903}",
|
||||
&["\u{300}\u{903}"], &["\u{300}", "\u{903}"]), ("\u{300}\u{308}\u{903}",
|
||||
&["\u{300}\u{308}\u{903}"], &["\u{300}\u{308}", "\u{903}"]), ("\u{903}\u{903}",
|
||||
&["\u{903}\u{903}"], &["\u{903}", "\u{903}"]), ("\u{903}\u{308}\u{903}",
|
||||
&["\u{903}\u{308}\u{903}"], &["\u{903}\u{308}", "\u{903}"]), ("\u{1100}\u{903}",
|
||||
&["\u{1100}\u{903}"], &["\u{1100}", "\u{903}"]), ("\u{1100}\u{308}\u{903}",
|
||||
&["\u{1100}\u{308}\u{903}"], &["\u{1100}\u{308}", "\u{903}"]), ("\u{1160}\u{903}",
|
||||
&["\u{1160}\u{903}"], &["\u{1160}", "\u{903}"]), ("\u{1160}\u{308}\u{903}",
|
||||
&["\u{1160}\u{308}\u{903}"], &["\u{1160}\u{308}", "\u{903}"]), ("\u{11A8}\u{903}",
|
||||
&["\u{11A8}\u{903}"], &["\u{11A8}", "\u{903}"]), ("\u{11A8}\u{308}\u{903}",
|
||||
&["\u{11A8}\u{308}\u{903}"], &["\u{11A8}\u{308}", "\u{903}"]), ("\u{AC00}\u{903}",
|
||||
&["\u{AC00}\u{903}"], &["\u{AC00}", "\u{903}"]), ("\u{AC00}\u{308}\u{903}",
|
||||
&["\u{AC00}\u{308}\u{903}"], &["\u{AC00}\u{308}", "\u{903}"]), ("\u{AC01}\u{903}",
|
||||
&["\u{AC01}\u{903}"], &["\u{AC01}", "\u{903}"]), ("\u{AC01}\u{308}\u{903}",
|
||||
&["\u{AC01}\u{308}\u{903}"], &["\u{AC01}\u{308}", "\u{903}"]), ("\u{1F1E6}\u{903}",
|
||||
&["\u{1F1E6}\u{903}"], &["\u{1F1E6}", "\u{903}"]), ("\u{1F1E6}\u{308}\u{903}",
|
||||
&["\u{1F1E6}\u{308}\u{903}"], &["\u{1F1E6}\u{308}", "\u{903}"]), ("\u{378}\u{903}",
|
||||
&["\u{378}\u{903}"], &["\u{378}", "\u{903}"]), ("\u{378}\u{308}\u{903}",
|
||||
&["\u{378}\u{308}\u{903}"], &["\u{378}\u{308}", "\u{903}"]),
|
||||
];
|
||||
|
||||
for &(s, g) in test_same.iter() {
|
||||
|
@ -118,7 +118,7 @@ impl String {
|
||||
/// ```rust
|
||||
/// let input = b"Hello \xF0\x90\x80World";
|
||||
/// let output = String::from_utf8_lossy(input);
|
||||
/// assert_eq!(output.as_slice(), "Hello \uFFFDWorld");
|
||||
/// assert_eq!(output.as_slice(), "Hello \u{FFFD}World");
|
||||
/// ```
|
||||
#[unstable = "return type may change"]
|
||||
pub fn from_utf8_lossy<'a>(v: &'a [u8]) -> CowString<'a> {
|
||||
@ -275,7 +275,7 @@ impl String {
|
||||
/// 0xD834];
|
||||
///
|
||||
/// assert_eq!(String::from_utf16_lossy(v),
|
||||
/// "𝄞mus\uFFFDic\uFFFD".to_string());
|
||||
/// "𝄞mus\u{FFFD}ic\u{FFFD}".to_string());
|
||||
/// ```
|
||||
#[stable]
|
||||
pub fn from_utf16_lossy(v: &[u16]) -> String {
|
||||
@ -1043,32 +1043,32 @@ mod tests {
|
||||
|
||||
let xs = b"Hello\xC2 There\xFF Goodbye";
|
||||
assert_eq!(String::from_utf8_lossy(xs),
|
||||
String::from_str("Hello\uFFFD There\uFFFD Goodbye").into_cow());
|
||||
String::from_str("Hello\u{FFFD} There\u{FFFD} Goodbye").into_cow());
|
||||
|
||||
let xs = b"Hello\xC0\x80 There\xE6\x83 Goodbye";
|
||||
assert_eq!(String::from_utf8_lossy(xs),
|
||||
String::from_str("Hello\uFFFD\uFFFD There\uFFFD Goodbye").into_cow());
|
||||
String::from_str("Hello\u{FFFD}\u{FFFD} There\u{FFFD} Goodbye").into_cow());
|
||||
|
||||
let xs = b"\xF5foo\xF5\x80bar";
|
||||
assert_eq!(String::from_utf8_lossy(xs),
|
||||
String::from_str("\uFFFDfoo\uFFFD\uFFFDbar").into_cow());
|
||||
String::from_str("\u{FFFD}foo\u{FFFD}\u{FFFD}bar").into_cow());
|
||||
|
||||
let xs = b"\xF1foo\xF1\x80bar\xF1\x80\x80baz";
|
||||
assert_eq!(String::from_utf8_lossy(xs),
|
||||
String::from_str("\uFFFDfoo\uFFFDbar\uFFFDbaz").into_cow());
|
||||
String::from_str("\u{FFFD}foo\u{FFFD}bar\u{FFFD}baz").into_cow());
|
||||
|
||||
let xs = b"\xF4foo\xF4\x80bar\xF4\xBFbaz";
|
||||
assert_eq!(String::from_utf8_lossy(xs),
|
||||
String::from_str("\uFFFDfoo\uFFFDbar\uFFFD\uFFFDbaz").into_cow());
|
||||
String::from_str("\u{FFFD}foo\u{FFFD}bar\u{FFFD}\u{FFFD}baz").into_cow());
|
||||
|
||||
let xs = b"\xF0\x80\x80\x80foo\xF0\x90\x80\x80bar";
|
||||
assert_eq!(String::from_utf8_lossy(xs), String::from_str("\uFFFD\uFFFD\uFFFD\uFFFD\
|
||||
foo\U00010000bar").into_cow());
|
||||
assert_eq!(String::from_utf8_lossy(xs), String::from_str("\u{FFFD}\u{FFFD}\u{FFFD}\u{FFFD}\
|
||||
foo\u{10000}bar").into_cow());
|
||||
|
||||
// surrogates
|
||||
let xs = b"\xED\xA0\x80foo\xED\xBF\xBFbar";
|
||||
assert_eq!(String::from_utf8_lossy(xs), String::from_str("\uFFFD\uFFFD\uFFFDfoo\
|
||||
\uFFFD\uFFFD\uFFFDbar").into_cow());
|
||||
assert_eq!(String::from_utf8_lossy(xs), String::from_str("\u{FFFD}\u{FFFD}\u{FFFD}foo\
|
||||
\u{FFFD}\u{FFFD}\u{FFFD}bar").into_cow());
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1110,7 +1110,7 @@ mod tests {
|
||||
0xd801_u16, 0xdc95_u16, 0xd801_u16, 0xdc86_u16,
|
||||
0x000a_u16 ]),
|
||||
// Issue #12318, even-numbered non-BMP planes
|
||||
(String::from_str("\U00020000"),
|
||||
(String::from_str("\u{20000}"),
|
||||
vec![0xD840, 0xDC00])];
|
||||
|
||||
for p in pairs.iter() {
|
||||
@ -1148,16 +1148,17 @@ mod tests {
|
||||
fn test_from_utf16_lossy() {
|
||||
// completely positive cases tested above.
|
||||
// lead + eof
|
||||
assert_eq!(String::from_utf16_lossy(&[0xD800]), String::from_str("\uFFFD"));
|
||||
assert_eq!(String::from_utf16_lossy(&[0xD800]), String::from_str("\u{FFFD}"));
|
||||
// lead + lead
|
||||
assert_eq!(String::from_utf16_lossy(&[0xD800, 0xD800]), String::from_str("\uFFFD\uFFFD"));
|
||||
assert_eq!(String::from_utf16_lossy(&[0xD800, 0xD800]),
|
||||
String::from_str("\u{FFFD}\u{FFFD}"));
|
||||
|
||||
// isolated trail
|
||||
assert_eq!(String::from_utf16_lossy(&[0x0061, 0xDC00]), String::from_str("a\uFFFD"));
|
||||
assert_eq!(String::from_utf16_lossy(&[0x0061, 0xDC00]), String::from_str("a\u{FFFD}"));
|
||||
|
||||
// general
|
||||
assert_eq!(String::from_utf16_lossy(&[0xD800, 0xd801, 0xdc8b, 0xD800]),
|
||||
String::from_str("\uFFFD𐒋\uFFFD"));
|
||||
String::from_str("\u{FFFD}𐒋\u{FFFD}"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -1249,7 +1250,7 @@ mod tests {
|
||||
#[test]
|
||||
#[should_fail]
|
||||
fn test_str_truncate_split_codepoint() {
|
||||
let mut s = String::from_str("\u00FC"); // ü
|
||||
let mut s = String::from_str("\u{FC}"); // ü
|
||||
s.truncate(1);
|
||||
}
|
||||
|
||||
|
@ -65,7 +65,7 @@ static MAX_THREE_B: u32 = 0x10000u32;
|
||||
|
||||
/// The highest valid code point
|
||||
#[stable]
|
||||
pub const MAX: char = '\U0010ffff';
|
||||
pub const MAX: char = '\u{10ffff}';
|
||||
|
||||
/// Converts from `u32` to a `char`
|
||||
#[inline]
|
||||
@ -161,8 +161,8 @@ pub fn from_digit(num: uint, radix: uint) -> Option<char> {
|
||||
/// The rules are as follows:
|
||||
///
|
||||
/// - chars in [0,0xff] get 2-digit escapes: `\\xNN`
|
||||
/// - chars in [0x100,0xffff] get 4-digit escapes: `\\uNNNN`
|
||||
/// - chars above 0x10000 get 8-digit escapes: `\\UNNNNNNNN`
|
||||
/// - chars in [0x100,0xffff] get 4-digit escapes: `\\u{NNNN}`
|
||||
/// - chars above 0x10000 get 8-digit escapes: `\\u{{NNN}NNNNN}`
|
||||
///
|
||||
#[deprecated = "use the Char::escape_unicode method"]
|
||||
pub fn escape_unicode(c: char, f: |char|) {
|
||||
@ -269,8 +269,8 @@ pub trait Char {
|
||||
/// The rules are as follows:
|
||||
///
|
||||
/// * Characters in [0,0xff] get 2-digit escapes: `\\xNN`
|
||||
/// * Characters in [0x100,0xffff] get 4-digit escapes: `\\uNNNN`.
|
||||
/// * Characters above 0x10000 get 8-digit escapes: `\\UNNNNNNNN`.
|
||||
/// * Characters in [0x100,0xffff] get 4-digit escapes: `\\u{NNNN}`.
|
||||
/// * Characters above 0x10000 get 8-digit escapes: `\\u{{NNN}NNNNN}`.
|
||||
#[unstable = "pending error conventions, trait organization"]
|
||||
fn escape_unicode(self) -> UnicodeEscapedChars;
|
||||
|
||||
@ -470,7 +470,7 @@ impl Iterator<char> for UnicodeEscapedChars {
|
||||
}
|
||||
UnicodeEscapedCharsState::Type => {
|
||||
let (typechar, pad) = if self.c <= '\x7f' { ('x', 2) }
|
||||
else if self.c <= '\uffff' { ('u', 4) }
|
||||
else if self.c <= '\u{ffff}' { ('u', 4) }
|
||||
else { ('U', 8) };
|
||||
self.state = UnicodeEscapedCharsState::Value(range_step(4 * (pad - 1), -1, -4i32));
|
||||
Some(typechar)
|
||||
|
@ -864,53 +864,3 @@ impl<F,A,R> FnOnce<A,R> for F
|
||||
self.call_mut(args)
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(stage0)]
|
||||
mod fn_impls {
|
||||
use super::Fn;
|
||||
|
||||
impl<Result> Fn<(),Result> for extern "Rust" fn() -> Result {
|
||||
#[allow(non_snake_case)]
|
||||
extern "rust-call" fn call(&self, _args: ()) -> Result {
|
||||
(*self)()
|
||||
}
|
||||
}
|
||||
|
||||
impl<Result,A0> Fn<(A0,),Result> for extern "Rust" fn(A0) -> Result {
|
||||
#[allow(non_snake_case)]
|
||||
extern "rust-call" fn call(&self, args: (A0,)) -> Result {
|
||||
let (a0,) = args;
|
||||
(*self)(a0)
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! def_fn(
|
||||
($($args:ident)*) => (
|
||||
impl<Result$(,$args)*>
|
||||
Fn<($($args,)*),Result>
|
||||
for extern "Rust" fn($($args: $args,)*) -> Result {
|
||||
#[allow(non_snake_case)]
|
||||
extern "rust-call" fn call(&self, args: ($($args,)*)) -> Result {
|
||||
let ($($args,)*) = args;
|
||||
(*self)($($args,)*)
|
||||
}
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
def_fn!(A0 A1)
|
||||
def_fn!(A0 A1 A2)
|
||||
def_fn!(A0 A1 A2 A3)
|
||||
def_fn!(A0 A1 A2 A3 A4)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14)
|
||||
def_fn!(A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15)
|
||||
}
|
||||
|
@ -143,9 +143,6 @@
|
||||
|
||||
#![stable]
|
||||
|
||||
#[cfg(stage0)]
|
||||
pub use self::Option::*;
|
||||
#[cfg(not(stage0))]
|
||||
use self::Option::*;
|
||||
|
||||
use cmp::{Eq, Ord};
|
||||
|
@ -918,6 +918,5 @@ pub fn fold<T,
|
||||
Ok(init)
|
||||
}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl<T:Copy,U:Copy> Copy for Result<T,U> {}
|
||||
|
||||
|
@ -914,13 +914,13 @@ fn run_utf8_validation_iterator(iter: &mut slice::Items<u8>) -> bool {
|
||||
if first >= 128 {
|
||||
let w = utf8_char_width(first);
|
||||
let second = next!();
|
||||
// 2-byte encoding is for codepoints \u0080 to \u07ff
|
||||
// 2-byte encoding is for codepoints \u{0080} to \u{07ff}
|
||||
// first C2 80 last DF BF
|
||||
// 3-byte encoding is for codepoints \u0800 to \uffff
|
||||
// 3-byte encoding is for codepoints \u{0800} to \u{ffff}
|
||||
// first E0 A0 80 last EF BF BF
|
||||
// excluding surrogates codepoints \ud800 to \udfff
|
||||
// excluding surrogates codepoints \u{d800} to \u{dfff}
|
||||
// ED A0 80 to ED BF BF
|
||||
// 4-byte encoding is for codepoints \u10000 to \u10ffff
|
||||
// 4-byte encoding is for codepoints \u{1000}0 to \u{10ff}ff
|
||||
// first F0 90 80 80 last F4 8F BF BF
|
||||
//
|
||||
// Use the UTF-8 syntax from the RFC
|
||||
@ -1007,7 +1007,7 @@ impl Utf16Item {
|
||||
pub fn to_char_lossy(&self) -> char {
|
||||
match *self {
|
||||
ScalarValue(c) => c,
|
||||
LoneSurrogate(_) => '\uFFFD'
|
||||
LoneSurrogate(_) => '\u{FFFD}'
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1523,7 +1523,7 @@ pub trait StrPrelude for Sized? {
|
||||
/// // composed forms of `ö` and `é`
|
||||
/// let c = "Löwe 老虎 Léopard"; // German, Simplified Chinese, French
|
||||
/// // decomposed forms of `ö` and `é`
|
||||
/// let d = "Lo\u0308we 老虎 Le\u0301opard";
|
||||
/// let d = "Lo\u{0308}we 老虎 Le\u{0301}opard";
|
||||
///
|
||||
/// assert_eq!(c.char_len(), 15);
|
||||
/// assert_eq!(d.char_len(), 17);
|
||||
|
@ -1569,10 +1569,10 @@ Options:
|
||||
#[test]
|
||||
fn test_usage_description_multibyte_handling() {
|
||||
let optgroups = vec!(
|
||||
optflag("k", "k\u2013w\u2013",
|
||||
optflag("k", "k\u{2013}w\u{2013}",
|
||||
"The word kiwi is normally spelled with two i's"),
|
||||
optflag("a", "apple",
|
||||
"This \u201Cdescription\u201D has some characters that could \
|
||||
"This \u{201C}description\u{201D} has some characters that could \
|
||||
confuse the line wrapping; an apple costs 0.51€ in some parts of Europe."));
|
||||
|
||||
let expected =
|
||||
|
@ -22,8 +22,8 @@
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
|
||||
#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, tuple_indexing, unsafe_destructor)]
|
||||
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, unsafe_destructor)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
|
||||
extern crate arena;
|
||||
|
@ -22,7 +22,7 @@
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
|
||||
#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, unsafe_destructor)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
|
||||
#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, unsafe_destructor)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
|
||||
|
@ -71,8 +71,8 @@ This API is completely unstable and subject to change.
|
||||
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
|
||||
#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, tuple_indexing, unsafe_destructor)]
|
||||
#![feature(default_type_params, globs, import_shadowing, macro_rules, phase, quote)]
|
||||
#![feature(slicing_syntax, unsafe_destructor)]
|
||||
#![feature(rustc_diagnostic_macros)]
|
||||
#![allow(non_camel_case_types)]
|
||||
|
||||
|
@ -246,7 +246,7 @@ impl<'a> fmt::Show for VarianceTerm<'a> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match *self {
|
||||
ConstantTerm(c1) => write!(f, "{}", c1),
|
||||
TransformTerm(v1, v2) => write!(f, "({} \u00D7 {})", v1, v2),
|
||||
TransformTerm(v1, v2) => write!(f, "({} \u{00D7} {})", v1, v2),
|
||||
InferredTerm(id) => write!(f, "[{}]", { let InferredIndex(i) = id; i })
|
||||
}
|
||||
}
|
||||
|
@ -748,7 +748,7 @@ impl<'a> SourceCollector<'a> {
|
||||
let contents = str::from_utf8(contents.as_slice()).unwrap();
|
||||
|
||||
// Remove the utf-8 BOM if any
|
||||
let contents = if contents.starts_with("\ufeff") {
|
||||
let contents = if contents.starts_with("\u{feff}") {
|
||||
contents.slice_from(3)
|
||||
} else {
|
||||
contents
|
||||
|
@ -18,7 +18,7 @@
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(globs, if_let, macro_rules, phase, slicing_syntax, tuple_indexing)]
|
||||
#![feature(globs, macro_rules, phase, slicing_syntax)]
|
||||
|
||||
extern crate arena;
|
||||
extern crate getopts;
|
||||
|
@ -31,7 +31,7 @@ pub struct Stdio(libc::c_int);
|
||||
#[allow(non_upper_case_globals)]
|
||||
impl Copy for Stdio {}
|
||||
|
||||
#[allow(non_uppercase_statics)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const Stdout: Stdio = Stdio(libc::STDOUT_FILENO);
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub const Stderr: Stdio = Stdio(libc::STDERR_FILENO);
|
||||
|
@ -284,8 +284,8 @@ pub fn error_str(error: ErrorCode) -> &'static str {
|
||||
TrailingCharacters => "trailing characters",
|
||||
TrailingComma => "trailing comma",
|
||||
InvalidEscape => "invalid escape",
|
||||
UnrecognizedHex => "invalid \\u escape (unrecognized hex)",
|
||||
NotFourDigit => "invalid \\u escape (not four digits)",
|
||||
UnrecognizedHex => "invalid \\u{ esc}ape (unrecognized hex)",
|
||||
NotFourDigit => "invalid \\u{ esc}ape (not four digits)",
|
||||
NotUtf8 => "contents not utf-8",
|
||||
InvalidUnicodeCodePoint => "invalid Unicode code point",
|
||||
LoneLeadingSurrogateInHexEscape => "lone leading surrogate in hex escape",
|
||||
@ -2846,8 +2846,8 @@ mod tests {
|
||||
assert_eq!(from_str("\"\\r\""), Ok(String("\r".into_string())));
|
||||
assert_eq!(from_str("\"\\t\""), Ok(String("\t".into_string())));
|
||||
assert_eq!(from_str(" \"foo\" "), Ok(String("foo".into_string())));
|
||||
assert_eq!(from_str("\"\\u12ab\""), Ok(String("\u12ab".into_string())));
|
||||
assert_eq!(from_str("\"\\uAB12\""), Ok(String("\uAB12".into_string())));
|
||||
assert_eq!(from_str("\"\\u12ab\""), Ok(String("\u{12ab}".into_string())));
|
||||
assert_eq!(from_str("\"\\uAB12\""), Ok(String("\u{AB12}".into_string())));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@ -2859,8 +2859,8 @@ mod tests {
|
||||
("\"\\n\"", "\n"),
|
||||
("\"\\r\"", "\r"),
|
||||
("\"\\t\"", "\t"),
|
||||
("\"\\u12ab\"", "\u12ab"),
|
||||
("\"\\uAB12\"", "\uAB12")];
|
||||
("\"\\u12ab\"", "\u{12ab}"),
|
||||
("\"\\uAB12\"", "\u{AB12}")];
|
||||
|
||||
for &(i, o) in s.iter() {
|
||||
let v: string::String = super::decode(i).unwrap();
|
||||
|
@ -23,7 +23,7 @@ Core encoding and decoding interfaces.
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/",
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![allow(unknown_features)]
|
||||
#![feature(macro_rules, default_type_params, phase, slicing_syntax, globs, if_let)]
|
||||
#![feature(macro_rules, default_type_params, phase, slicing_syntax, globs)]
|
||||
|
||||
// test harness access
|
||||
#[cfg(test)]
|
||||
|
@ -696,7 +696,7 @@ mod tests {
|
||||
|
||||
assert!("".is_ascii());
|
||||
assert!("a".is_ascii());
|
||||
assert!(!"\u2009".is_ascii());
|
||||
assert!(!"\u{2009}".is_ascii());
|
||||
|
||||
}
|
||||
|
||||
|
@ -1215,7 +1215,7 @@ mod test {
|
||||
assert!(dirpath.is_dir());
|
||||
|
||||
let mut filepath = dirpath;
|
||||
filepath.push("unicode-file-\uac00\u4e00\u30fc\u4f60\u597d.rs");
|
||||
filepath.push("unicode-file-\u{ac00}\u{4e00}\u{30fc}\u{4f60}\u{597d}.rs");
|
||||
check!(File::create(&filepath)); // ignore return; touch only
|
||||
assert!(!filepath.is_dir());
|
||||
assert!(filepath.exists());
|
||||
|
@ -106,7 +106,7 @@
|
||||
#![allow(unknown_features)]
|
||||
#![feature(macro_rules, globs, linkage)]
|
||||
#![feature(default_type_params, phase, lang_items, unsafe_destructor)]
|
||||
#![feature(import_shadowing, slicing_syntax, tuple_indexing)]
|
||||
#![feature(import_shadowing, slicing_syntax)]
|
||||
|
||||
// Don't link to std. We are std.
|
||||
#![no_std]
|
||||
|
@ -1182,15 +1182,13 @@ pub fn page_size() -> uint {
|
||||
///
|
||||
/// The memory map is released (unmapped) when the destructor is run, so don't
|
||||
/// let it leave scope by accident if you want it to stick around.
|
||||
#[allow(missing_copy_implementations)]
|
||||
pub struct MemoryMap {
|
||||
data: *mut u8,
|
||||
len: uint,
|
||||
kind: MemoryMapKind,
|
||||
}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl Copy for MemoryMap {}
|
||||
|
||||
/// Type of memory map
|
||||
pub enum MemoryMapKind {
|
||||
/// Virtual memory map. Usually used to change the permissions of a given
|
||||
|
@ -542,10 +542,10 @@ mod tests {
|
||||
)
|
||||
)
|
||||
t!("foo", display, "foo");
|
||||
t!(b"foo\x80", display, "foo\uFFFD");
|
||||
t!(b"foo\xFFbar", display, "foo\uFFFDbar");
|
||||
t!(b"foo\x80", display, "foo\u{FFFD}");
|
||||
t!(b"foo\xFFbar", display, "foo\u{FFFD}bar");
|
||||
t!(b"foo\xFF/bar", filename_display, "bar");
|
||||
t!(b"foo/\xFFbar", filename_display, "\uFFFDbar");
|
||||
t!(b"foo/\xFFbar", filename_display, "\u{FFFD}bar");
|
||||
t!(b"/", filename_display, "");
|
||||
|
||||
macro_rules! t(
|
||||
@ -566,10 +566,10 @@ mod tests {
|
||||
)
|
||||
|
||||
t!("foo", "foo");
|
||||
t!(b"foo\x80", "foo\uFFFD");
|
||||
t!(b"foo\xFFbar", "foo\uFFFDbar");
|
||||
t!(b"foo\x80", "foo\u{FFFD}");
|
||||
t!(b"foo\xFFbar", "foo\u{FFFD}bar");
|
||||
t!(b"foo\xFF/bar", "bar", filename);
|
||||
t!(b"foo/\xFFbar", "\uFFFDbar", filename);
|
||||
t!(b"foo/\xFFbar", "\u{FFFD}bar", filename);
|
||||
t!(b"/", "", filename);
|
||||
}
|
||||
|
||||
@ -590,10 +590,10 @@ mod tests {
|
||||
t!(b"foo", "foo", "foo");
|
||||
t!(b"foo/bar", "foo/bar", "bar");
|
||||
t!(b"/", "/", "");
|
||||
t!(b"foo\xFF", "foo\uFFFD", "foo\uFFFD");
|
||||
t!(b"foo\xFF/bar", "foo\uFFFD/bar", "bar");
|
||||
t!(b"foo/\xFFbar", "foo/\uFFFDbar", "\uFFFDbar");
|
||||
t!(b"\xFFfoo/bar\xFF", "\uFFFDfoo/bar\uFFFD", "bar\uFFFD");
|
||||
t!(b"foo\xFF", "foo\u{FFFD}", "foo\u{FFFD}");
|
||||
t!(b"foo\xFF/bar", "foo\u{FFFD}/bar", "bar");
|
||||
t!(b"foo/\xFFbar", "foo/\u{FFFD}bar", "\u{FFFD}bar");
|
||||
t!(b"\xFFfoo/bar\xFF", "\u{FFFD}foo/bar\u{FFFD}", "bar\u{FFFD}");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
@ -500,8 +500,8 @@ mod tests {
|
||||
"echo \"a b c\""
|
||||
);
|
||||
assert_eq!(
|
||||
test_wrapper("\u03c0\u042f\u97f3\u00e6\u221e", &[]),
|
||||
"\u03c0\u042f\u97f3\u00e6\u221e"
|
||||
test_wrapper("\u{03c0}\u{042f}\u{97f3}\u{00e6}\u{221e}", &[]),
|
||||
"\u{03c0}\u{042f}\u{97f3}\u{00e6}\u{221e}"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -562,7 +562,6 @@ pub enum BinOp {
|
||||
BiGt,
|
||||
}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl Copy for BinOp {}
|
||||
|
||||
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
|
||||
|
@ -350,7 +350,7 @@ impl CodeMap {
|
||||
// Remove utf-8 BOM if any.
|
||||
// FIXME #12884: no efficient/safe way to remove from the start of a string
|
||||
// and reuse the allocation.
|
||||
let mut src = if src.starts_with("\ufeff") {
|
||||
let mut src = if src.starts_with("\u{feff}") {
|
||||
String::from_str(src.slice_from(3))
|
||||
} else {
|
||||
String::from_str(src.as_slice())
|
||||
|
@ -23,7 +23,7 @@
|
||||
html_root_url = "http://doc.rust-lang.org/nightly/")]
|
||||
|
||||
#![allow(unknown_features)]
|
||||
#![feature(if_let, macro_rules, globs, default_type_params, phase, slicing_syntax)]
|
||||
#![feature(macro_rules, globs, default_type_params, phase, slicing_syntax)]
|
||||
#![feature(quote, unsafe_destructor, import_shadowing)]
|
||||
|
||||
extern crate arena;
|
||||
|
@ -763,8 +763,6 @@ impl<'a> StringReader<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
// SNAP c9f6d69
|
||||
#[allow(unused)]
|
||||
fn old_escape_warning(&mut self, sp: Span) {
|
||||
self.span_diagnostic
|
||||
.span_warn(sp, "\\U00ABCD12 and \\uABCD escapes are deprecated");
|
||||
@ -796,17 +794,15 @@ impl<'a> StringReader<'a> {
|
||||
self.scan_unicode_escape(delim)
|
||||
} else {
|
||||
let res = self.scan_hex_digits(4u, delim, false);
|
||||
// SNAP c9f6d69
|
||||
//let sp = codemap::mk_sp(escaped_pos, self.last_pos);
|
||||
//self.old_escape_warning(sp);
|
||||
let sp = codemap::mk_sp(escaped_pos, self.last_pos);
|
||||
self.old_escape_warning(sp);
|
||||
res
|
||||
}
|
||||
}
|
||||
'U' if !ascii_only => {
|
||||
let res = self.scan_hex_digits(8u, delim, false);
|
||||
// SNAP c9f6d69
|
||||
//let sp = codemap::mk_sp(escaped_pos, self.last_pos);
|
||||
//self.old_escape_warning(sp);
|
||||
let sp = codemap::mk_sp(escaped_pos, self.last_pos);
|
||||
self.old_escape_warning(sp);
|
||||
res
|
||||
}
|
||||
'\n' if delim == '"' => {
|
||||
|
@ -89,10 +89,8 @@ impl Lit {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl Copy for Lit {}
|
||||
|
||||
#[cfg(not(stage0))]
|
||||
impl Copy for IdentStyle {}
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
|
14267
src/libunicode/tables.rs
14267
src/libunicode/tables.rs
File diff suppressed because it is too large
Load Diff
@ -46,8 +46,8 @@ pub trait UnicodeStrPrelude for Sized? {
|
||||
/// # Example
|
||||
///
|
||||
/// ```rust
|
||||
/// let gr1 = "a\u0310e\u0301o\u0308\u0332".graphemes(true).collect::<Vec<&str>>();
|
||||
/// let b: &[_] = &["a\u0310", "e\u0301", "o\u0308\u0332"];
|
||||
/// let gr1 = "a\u{0310}e\u{0301}o\u{0308}\u{0332}".graphemes(true).collect::<Vec<&str>>();
|
||||
/// let b: &[_] = &["a\u{0310}", "e\u{0301}", "o\u{0308}\u{0332}"];
|
||||
/// assert_eq!(gr1.as_slice(), b);
|
||||
/// let gr2 = "a\r\nb🇷🇺🇸🇹".graphemes(true).collect::<Vec<&str>>();
|
||||
/// let b: &[_] = &["a", "\r\n", "b", "🇷🇺🇸🇹"];
|
||||
|
@ -1,3 +1,12 @@
|
||||
S 2014-12-09 cafe296
|
||||
freebsd-x86_64 f80b943b94747764282d1b54d861b600eadd224f
|
||||
linux-i386 96b390dc7d0c38b7b60f04fc5a6565ecfa9cb977
|
||||
linux-x86_64 3c29c67bc752b30e4bf430a20cf573bd0a4c5e11
|
||||
macos-i386 c5f6b7c4d40d052ccb212e794df7ea0a2941854d
|
||||
macos-x86_64 b522ac305ad777a51429564bab27ea4af432ab87
|
||||
winnt-i386 f6db8b1832022b1e028d5fc038eba41b261d44b1
|
||||
winnt-x86_64 f5b633290669b0ffb70efdc5dd5584814c640181
|
||||
|
||||
S 2014-11-21 c9f6d69
|
||||
freebsd-x86_64 0ef316e7c369177de043e69e964418bd637cbfc0
|
||||
linux-i386 c8342e762a1720be939ed7c6a39bdaa27892f66f
|
||||
|
@ -10,10 +10,12 @@
|
||||
|
||||
static c: char =
|
||||
'\u539_' //~ ERROR: illegal character in numeric character escape
|
||||
//~^ WARNING: \uABCD escapes are deprecated
|
||||
;
|
||||
|
||||
static c2: char =
|
||||
'\Uffffffff' //~ ERROR: illegal numeric character escape
|
||||
//~^ WARNING: \uABCD escapes are deprecated
|
||||
;
|
||||
|
||||
static c3: char =
|
||||
@ -22,8 +24,9 @@ static c3: char =
|
||||
|
||||
static c4: char =
|
||||
'\u23q' //~ ERROR: illegal character in numeric character escape
|
||||
//~^ WARNING: \uABCD escapes are deprecated
|
||||
;
|
||||
//~^^ ERROR: numeric character escape is too short
|
||||
//~^^^ ERROR: numeric character escape is too short
|
||||
|
||||
static s: &'static str =
|
||||
"\x1" //~ ERROR: numeric character escape is too short
|
||||
@ -32,6 +35,7 @@ static s: &'static str =
|
||||
static s2: &'static str =
|
||||
"\u23q" //~ ERROR: illegal character in numeric character escape
|
||||
//~^ ERROR: numeric character escape is too short
|
||||
//~^^ WARNING: \uABCD escapes are deprecated
|
||||
;
|
||||
|
||||
static c: char =
|
||||
|
Loading…
Reference in New Issue
Block a user