error terminates processing.
(err error)
| 221 | |
| 222 | // error terminates processing. |
| 223 | func (t *tree) error(err error) { |
| 224 | t.errorf("%s", err) |
| 225 | } |
| 226 | |
| 227 | // expect verifies the current token and guarantees it has the required type |
| 228 | func (t *tree) expect(expected lex.TokenType, context string) lex.Token { |