mirror of
https://github.com/golang/go
synced 2024-11-21 20:14:52 -07:00
maketables: update debugging data.
This is unused in the generation of the tables, but was incorrect if we ever needed it. Also update the reference to the document. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4626097
This commit is contained in:
parent
9d5ed1744a
commit
a8e5db9449
@ -73,7 +73,7 @@ var category = map[string]bool{
|
|||||||
// UnicodeData.txt has form:
|
// UnicodeData.txt has form:
|
||||||
// 0037;DIGIT SEVEN;Nd;0;EN;;7;7;7;N;;;;;
|
// 0037;DIGIT SEVEN;Nd;0;EN;;7;7;7;N;;;;;
|
||||||
// 007A;LATIN SMALL LETTER Z;Ll;0;L;;;;;N;;;005A;;005A
|
// 007A;LATIN SMALL LETTER Z;Ll;0;L;;;;;N;;;005A;;005A
|
||||||
// See http://www.unicode.org/Public/5.1.0/ucd/UCD.html for full explanation
|
// See http://www.unicode.org/reports/tr44/ for a full explanation
|
||||||
// The fields:
|
// The fields:
|
||||||
const (
|
const (
|
||||||
FCodePoint = iota
|
FCodePoint = iota
|
||||||
@ -81,10 +81,10 @@ const (
|
|||||||
FGeneralCategory
|
FGeneralCategory
|
||||||
FCanonicalCombiningClass
|
FCanonicalCombiningClass
|
||||||
FBidiClass
|
FBidiClass
|
||||||
FDecompositionType
|
FDecompositionTypeAndMapping
|
||||||
FDecompositionMapping
|
|
||||||
FNumericType
|
FNumericType
|
||||||
FNumericValue
|
FNumericDigit // If a decimal digit.
|
||||||
|
FNumericValue // Includes non-decimal, e.g. U+2155=1/5
|
||||||
FBidiMirrored
|
FBidiMirrored
|
||||||
FUnicode1Name
|
FUnicode1Name
|
||||||
FISOComment
|
FISOComment
|
||||||
@ -97,21 +97,21 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var fieldName = []string{
|
var fieldName = []string{
|
||||||
"CodePoint",
|
FCodePoint: "CodePoint",
|
||||||
"Name",
|
FName: "Name",
|
||||||
"GeneralCategory",
|
FGeneralCategory: "GeneralCategory",
|
||||||
"CanonicalCombiningClass",
|
FCanonicalCombiningClass: "CanonicalCombiningClass",
|
||||||
"BidiClass",
|
FBidiClass: "BidiClass",
|
||||||
"DecompositionType",
|
FDecompositionTypeAndMapping: "DecompositionTypeAndMapping",
|
||||||
"DecompositionMapping",
|
FNumericType: "NumericType",
|
||||||
"NumericType",
|
FNumericDigit: "NumericDigit",
|
||||||
"NumericValue",
|
FNumericValue: "NumericValue",
|
||||||
"BidiMirrored",
|
FBidiMirrored: "BidiMirrored",
|
||||||
"Unicode1Name",
|
FUnicode1Name: "Unicode1Name",
|
||||||
"ISOComment",
|
FISOComment: "ISOComment",
|
||||||
"SimpleUppercaseMapping",
|
FSimpleUppercaseMapping: "SimpleUppercaseMapping",
|
||||||
"SimpleLowercaseMapping",
|
FSimpleLowercaseMapping: "SimpleLowercaseMapping",
|
||||||
"SimpleTitlecaseMapping",
|
FSimpleTitlecaseMapping: "SimpleTitlecaseMapping",
|
||||||
}
|
}
|
||||||
|
|
||||||
// This contains only the properties we're interested in.
|
// This contains only the properties we're interested in.
|
||||||
|
Loading…
Reference in New Issue
Block a user