parseError sets p.err to a ParseError at the current line with the given message.
(msg string)
| 533 | // parseError sets p.err to a ParseError at the current line with the given |
| 534 | // message. |
| 535 | func (p *TextParser) parseError(msg string) { |
| 536 | p.err = ParseError{ |
| 537 | Line: p.lineCount, |
| 538 | Msg: msg, |
| 539 | } |
| 540 | } |
| 541 | |
| 542 | // skipBlankTab reads (and discards) bytes from p.buf until it encounters a byte |
| 543 | // that is neither ' ' nor '\t'. That byte is left in p.currentByte. |
no outgoing calls
no test coverage detected