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:
Robert Griesemer 2010-05-21 20:25:08 -07:00
parent 38b2d10bb2
commit 72fd5c80f8
8 changed files with 53 additions and 20 deletions

View file

@ -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 {