diff options
Diffstat (limited to 'libgo/go/go/token/position.go')
-rw-r--r-- | libgo/go/go/token/position.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/go/token/position.go b/libgo/go/go/token/position.go index 647d1b770b6..fc45c1e7693 100644 --- a/libgo/go/go/token/position.go +++ b/libgo/go/go/token/position.go @@ -76,7 +76,7 @@ type Pos int // associated with it, and NoPos().IsValid() is false. NoPos is always // smaller than any other Pos value. The corresponding Position value // for NoPos is the zero value for Position. -// +// const NoPos Pos = 0 // IsValid returns true if the position is valid. @@ -347,7 +347,7 @@ func (s *FileSet) AddFile(filename string, base, size int) *File { // Iterate calls f for the files in the file set in the order they were added // until f returns false. -// +// func (s *FileSet) Iterate(f func(*File) bool) { for i := 0; ; i++ { var file *File |