1
0
mirror of https://github.com/golang/go synced 2024-11-26 11:08:38 -07:00

- adjust to new token.Position definition

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=31574
CL=31604
This commit is contained in:
Robert Griesemer 2009-07-14 10:45:57 -07:00
parent 2d58fa6f18
commit 5945b25158

View File

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