From 5945b251587792e0f53d5510333f1a891adb5b67 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 14 Jul 2009 10:45:57 -0700 Subject: [PATCH] - adjust to new token.Position definition R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31574 CL=31604 --- src/pkg/go/printer/printer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/go/printer/printer.go b/src/pkg/go/printer/printer.go index e09387cf7f0..4196eb8d8cb 100644 --- a/src/pkg/go/printer/printer.go +++ b/src/pkg/go/printer/printer.go @@ -55,7 +55,7 @@ func (p *printer) nextComment() { if p.comments != nil && p.cindex < len(p.comments) && p.comments[p.cindex] != nil { p.cpos = p.comments[p.cindex].List[0].Pos(); } else { - p.cpos = token.Position{1<<30, 1<<30, 1}; // infinite + p.cpos = token.Position{"", 1<<30, 1<<30, 1}; // infinite } }