// skipBlankLine checks to see if the line is blank and if so sets skip to
// true. It may also set an error if blank lines are not expected.
skipBlankLine checks to see if the line is blank and if so sets skip to
true. It may also set an error if blank lines are not expected.
// skipBlankLine checks to see if the line is blank and if so sets skip to // true . It may also set an error if blank lines are not expected .
func skipBlankLine(dfr *DFReader, state *dfReadState, df *DF) (bool, error) {
	if state.line != "" {
		return false, nil
	}
	if dfr.skipBlankLines {
		return true, nil
	}
	var err error = dfErrorf("%s: unexpected blank line", state.loc)
	df.addError(err)
	if dfr.allowErrors {
		err = nil
	}
	return true, err
}
func skipBlankLine ( dfr * DFReader , state * dfReadState , df * DF ) ( bool , error ) { if state . line != " " { return false , nil } if dfr . skipBlankLines { return true , nil } var err error = dfErrorf ( " " , state . loc ) df . addError ( err ) if dfr . allowErrors { err = nil } return true , err }
skipBlankLine checks to see if the line is blank and if so sets skip to
true.
skipBlankLine checks to see if the line is blank and if so sets skip to true .