mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
std: add struct field tags to untagged literals.
R=rsc, dsymonds, bsiegert, rogpeppe CC=golang-dev https://golang.org/cl/5619052
This commit is contained in:
parent
e489ab8ecc
commit
102638cb53
21 changed files with 91 additions and 40 deletions
|
|
@ -1377,8 +1377,8 @@ func (p *parser) appendGroup(r []rune, g charGroup) []rune {
|
|||
}
|
||||
|
||||
var anyTable = &unicode.RangeTable{
|
||||
[]unicode.Range16{{0, 1<<16 - 1, 1}},
|
||||
[]unicode.Range32{{1 << 16, unicode.MaxRune, 1}},
|
||||
R16: []unicode.Range16{{Lo: 0, Hi: 1<<16 - 1, Stride: 1}},
|
||||
R32: []unicode.Range32{{Lo: 1 << 16, Hi: unicode.MaxRune, Stride: 1}},
|
||||
}
|
||||
|
||||
// unicodeTable returns the unicode.RangeTable identified by name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue