Commit ceb1fe28 authored by Rob Pike's avatar Rob Pike

update package unicode to Unicode 5.2

R=rsc
CC=golang-dev
https://golang.org/cl/163062
parent 2a54997b
......@@ -20,6 +20,7 @@ tables: maketables
$(GC) maketables.go
$(LD) -o maketables maketables.$O
./maketables --tables=all > tables.go
gofmt -w tables.go
rm -f maketables
testtables: maketables
......
......@@ -32,7 +32,7 @@ func main() {
var dataURL = flag.String("data", "", "full URL for UnicodeData.txt; defaults to --url/UnicodeData.txt")
var url = flag.String("url",
"http://www.unicode.org/Public/5.1.0/ucd/",
"http://www.unicode.org/Public/5.2.0/ucd/",
"URL of Unicode database directory")
var tablelist = flag.String("tables",
"all",
......
......@@ -19,7 +19,9 @@ type T struct {
var inTest = []T{
T{0x06e2, "Arabic"},
T{0x0567, "Armenian"},
T{0x10b20, "Avestan"},
T{0x1b37, "Balinese"},
T{0xa6af, "Bamum"},
T{0x09c2, "Bengali"},
T{0x3115, "Bopomofo"},
T{0x282d, "Braille"},
......@@ -37,6 +39,7 @@ var inTest = []T{
T{0xa663, "Cyrillic"},
T{0x10430, "Deseret"},
T{0x094a, "Devanagari"},
T{0x13001, "Egyptian_Hieroglyphs"},
T{0x1271, "Ethiopic"},
T{0x10fc, "Georgian"},
T{0x2c40, "Glagolitic"},
......@@ -49,7 +52,12 @@ var inTest = []T{
T{0x1727, "Hanunoo"},
T{0x05a0, "Hebrew"},
T{0x3058, "Hiragana"},
T{0x10841, "Imperial_Aramaic"},
T{0x20e6, "Inherited"},
T{0x10b70, "Inscriptional_Pahlavi"},
T{0x10b5a, "Inscriptional_Parthian"},
T{0xa9d0, "Javanese"},
T{0x1109f, "Kaithi"},
T{0x0cbd, "Kannada"},
T{0x30a6, "Katakana"},
T{0xa928, "Kayah_Li"},
......@@ -60,9 +68,11 @@ var inTest = []T{
T{0x1c10, "Lepcha"},
T{0x1930, "Limbu"},
T{0x1003c, "Linear_B"},
T{0xa4e1, "Lisu"},
T{0x10290, "Lycian"},
T{0x10930, "Lydian"},
T{0x0d42, "Malayalam"},
T{0xabd0, "Meetei_Mayek"},
T{0x1822, "Mongolian"},
T{0x104c, "Myanmar"},
T{0x19c3, "New_Tai_Lue"},
......@@ -71,12 +81,15 @@ var inTest = []T{
T{0x1c6a, "Ol_Chiki"},
T{0x10310, "Old_Italic"},
T{0x103c9, "Old_Persian"},
T{0x10a6f, "Old_South_Arabian"},
T{0x10c20, "Old_Turkic"},
T{0x0b3e, "Oriya"},
T{0x10491, "Osmanya"},
T{0xa860, "Phags_Pa"},
T{0x10918, "Phoenician"},
T{0xa949, "Rejang"},
T{0x16c0, "Runic"},
T{0x081d, "Samaritan"},
T{0xa892, "Saurashtra"},
T{0x10463, "Shavian"},
T{0x0dbd, "Sinhala"},
......@@ -86,6 +99,8 @@ var inTest = []T{
T{0x170f, "Tagalog"},
T{0x176f, "Tagbanwa"},
T{0x1972, "Tai_Le"},
T{0x1a62, "Tai_Tham"},
T{0xaadc, "Tai_Viet"},
T{0x0bbf, "Tamil"},
T{0x0c55, "Telugu"},
T{0x07a7, "Thaana"},
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment