func (l *Lexer) errorf(format string, args ...interface{}) LexerStateFn {
	err := fmt.Sprintf(format, args...)
	l.tokens <- New(ERROR, []byte(err), l.start)
	return nil
}
// error returns an error token and terminates the scan by passing
// back a nil pointer that will be the next state, terminating l.run.
error returns an error token and terminates the scan by passing
back a nil pointer that will be the next state, terminating l.run.
// error returns an error token and terminates the scan by passing // back a nil pointer that will be the next state terminating l . run .
func (l *Lexer) errorf(format string, args ...interface{}) LexerStateFn {
	err := fmt.Sprintf(format, args...)
	l.tokens <- New(ERROR, []byte(err), l.start)
	return nil
}
func ( l * Lexer ) errorf ( format string , args ... interface { } ) LexerStateFn { err := fmt . Sprintf ( format , args ... ) l . tokens <- New ( ERROR , [ ] byte ( err ) , l . start ) return nil }
error returns an error token and terminates the scan by passing
back a nil pointer that will be the next state, terminating l.run.
error returns an error token and terminates the scan by passing back a nil pointer that will be the next state terminating l . run .