diff options
| author | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2010-02-02 10:53:37 +1100 |
| commit | 60889ea454193fee3ad1d7c7d0539827697e3624 (patch) | |
| tree | 8f498db4a8c2191481b79772b51d82547316fbf3 /src/pkg/exp/parser/parser.go | |
| parent | 9bd745432a661b2de84bf5b3a07992654352c53b (diff) | |
| download | golang-60889ea454193fee3ad1d7c7d0539827697e3624.tar.gz | |
Change type of Printf's args to ... interface{}
R=rsc
CC=golang-dev
http://codereview.appspot.com/197043
Diffstat (limited to 'src/pkg/exp/parser/parser.go')
| -rw-r--r-- | src/pkg/exp/parser/parser.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/parser/parser.go b/src/pkg/exp/parser/parser.go index 8336bdb08..6114c8895 100644 --- a/src/pkg/exp/parser/parser.go +++ b/src/pkg/exp/parser/parser.go @@ -91,7 +91,7 @@ func (p *parser) init(filename string, src []byte, mode uint) { // ---------------------------------------------------------------------------- // Parsing support -func (p *parser) printTrace(a ...) { +func (p *parser) printTrace(a ...interface{}) { const dots = ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " + ". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . " const n = uint(len(dots)) |
