mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
unicode: for consistency with MaxRune, s/Latin1Max/MaxLatin1/ and
s/ASCIIMax/MaxASCII/ R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/4539109
This commit is contained in:
parent
8d64e73f94
commit
7a92287a48
8 changed files with 33 additions and 33 deletions
|
|
@ -919,8 +919,8 @@ func printLatinProperties() {
|
|||
if *test {
|
||||
return
|
||||
}
|
||||
fmt.Println("var properties = [Latin1Max]uint8{")
|
||||
for code := 0; code < unicode.Latin1Max; code++ {
|
||||
fmt.Println("var properties = [MaxLatin1+1]uint8{")
|
||||
for code := 0; code <= unicode.MaxLatin1; code++ {
|
||||
var property string
|
||||
switch chars[code].category {
|
||||
case "Cc", "": // NUL has no category.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue