(format string, args ...any)
| 149 | } |
| 150 | |
| 151 | func (p *Parser) error(format string, args ...any) { |
| 152 | p.errorAt(p.current, format, args...) |
| 153 | } |
| 154 | |
| 155 | func (p *Parser) errorAt(token Token, format string, args ...any) { |
| 156 | if p.err == nil { // show first error |
no test coverage detected