1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:24:42 -07:00

fix up some irregular indentation

R=rsc
OCL=33382
CL=33391
This commit is contained in:
Rob Pike 2009-08-17 13:30:22 -07:00
parent 3e804ba7a7
commit 74dd0ab670
39 changed files with 317 additions and 316 deletions

View File

@ -1,4 +1,4 @@
// errchk $G $D/$F.go // ! $G $D/$F.go || echo BUG: compilation succeeds incorrectly
// Copyright 2009 The Go Authors. All rights reserved. // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style

View File

@ -1,9 +1,9 @@
// $G $D/$F.go && $L $F.$A && ./$A.out
// Copyright 2009 The Go Authors. All rights reserved. // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// $G $D/$F.go && $L $F.$A && ./$A.out
package main package main
import "os" import "os"

View File

@ -16,6 +16,7 @@ func GetValue() uint {
func Send(a, b chan uint) int { func Send(a, b chan uint) int {
var i int; var i int;
LOOP: LOOP:
for { for {
select { select {

View File

@ -3,4 +3,5 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package bug0 package bug0
const A = -1 const A = -1

View File

@ -3,5 +3,6 @@
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package bug1 package bug1
import "./bug0" import "./bug0"

View File

@ -96,7 +96,7 @@ panic PC=xxx
== fixedbugs/ == fixedbugs/
=========== fixedbugs/bug016.go =========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint fixedbugs/bug016.go:11: constant -3 overflows uint
=========== fixedbugs/bug027.go =========== fixedbugs/bug027.go
hi hi
@ -121,7 +121,7 @@ do break
broke broke
=========== fixedbugs/bug081.go =========== fixedbugs/bug081.go
fixedbugs/bug081.go:5: fatal error: typecheck loop fixedbugs/bug081.go:9: fatal error: typecheck loop
=========== fixedbugs/bug093.go =========== fixedbugs/bug093.go
M M

View File

@ -9,8 +9,7 @@ package main
import "os" import "os"
func main() { func main() {
s := s := 0 +
0 +
123 + 123 +
0123 + 0123 +
0000 + 0000 +

View File

@ -4,7 +4,6 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
import "rand" import "rand"

View File

@ -4,7 +4,6 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
package main package main
import "rand" import "rand"

View File

@ -1,4 +1,4 @@
// errchk $G $D/$F.go // # errchk $G $D/$F.go
// Copyright 2009 The Go Authors. All rights reserved. // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style

View File

@ -1,8 +1,9 @@
#!/bin/sh
# Copyright 2009 The Go Authors. All rights reserved. # Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file. # license that can be found in the LICENSE file.
#!/bin/sh
case X"$GOARCH" in case X"$GOARCH" in
Xamd64) Xamd64)
export A=6 export A=6