(s string)
| 91 | } |
| 92 | |
| 93 | func newTextParser(s string) *textParser { |
| 94 | p := new(textParser) |
| 95 | p.s = s |
| 96 | p.line = 1 |
| 97 | p.cur.line = 1 |
| 98 | return p |
| 99 | } |
| 100 | |
| 101 | func (p *textParser) errorf(format string, a ...interface{}) *ParseError { |
| 102 | pe := &ParseError{fmt.Sprintf(format, a...), p.cur.line, p.cur.offset} |
no outgoing calls
no test coverage detected
searching dependent graphs…