mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
go/printer, gofmt: fix printing of labels,
apply gofmt to src, misc Fixes #752. R=rsc CC=golang-dev https://golang.org/cl/1240044
This commit is contained in:
parent
38b2d10bb2
commit
72fd5c80f8
8 changed files with 53 additions and 20 deletions
|
|
@ -346,7 +346,8 @@ func parseIPv6(s string) IP {
|
|||
|
||||
// Loop, parsing hex numbers followed by colon.
|
||||
j := 0
|
||||
L: for j < IPv6len {
|
||||
L:
|
||||
for j < IPv6len {
|
||||
// Hex number.
|
||||
n, i1, ok := xtoi(s, i)
|
||||
if !ok || n > 0xFFFF {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue