Remove unused code

This commit is contained in:
Tobie Morgan Hitchcock 2018-05-30 13:25:53 +01:00
parent ba4f3c7e15
commit 8ab01b510f

View file

@ -47,19 +47,6 @@ func (p *parser) parseWhat() (mul []Expr, err error) {
}
func (p *parser) parseValue() (*Value, error) {
tok, lit, err := p.shouldBe(STRING, REGION)
if err != nil {
return nil, &ParseError{Found: lit, Expected: []string{"string"}}
}
val, err := p.declare(tok, lit)
return val.(*Value), err
}
func (p *parser) parseIdent() (*Ident, error) {
_, lit, err := p.shouldBe(IDENT)