parseError sets p.err to a ParseError at the current line with the given message.
(msg string)
| 687 | // parseError sets p.err to a ParseError at the current line with the given |
| 688 | // message. |
| 689 | func (p *TextParser) parseError(msg string) { |
| 690 | p.err = ParseError{ |
| 691 | Line: p.lineCount, |
| 692 | Msg: msg, |
| 693 | } |
| 694 | } |
| 695 | |
| 696 | // skipBlankTab reads (and discards) bytes from p.buf until it encounters a byte |
| 697 | // that is neither ' ' nor '\t'. That byte is left in p.currentByte. |
no outgoing calls
no test coverage detected