code: func (errorformat *Errorformat) NewScanner(r io.Reader) *Scanner {
  	return &Scanner{
  		Errorformat: errorformat,
  		source:      bufio.NewScanner(r),
  		qi:          &qfinfo{},
  		mlpoped:     true,
  	}
  }
docs: // NewScanner returns a new Scanner to read from r.