(format string, a ...interface{})
| 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} |
| 103 | p.cur.err = pe |
| 104 | p.done = true |
| 105 | return pe |
| 106 | } |
| 107 | |
| 108 | // Numbers and identifiers are matched by [-+._A-Za-z0-9] |
| 109 | func isIdentOrNumberChar(c byte) bool { |
no outgoing calls
no test coverage detected