// ErrChar reports an error for char ch. ErrChar is safe for concurrent use by // multiple goroutines. func (c *Report) ErrChar(ch lex.Char, format string, arg ...interface{}) { c.Err(ch.Pos(), format, arg...) }
func (l *lexer) errChar(c lex.Char, msg string, arg ...interface{}) { l.err(c.Pos(), msg, arg...) }