Remove unused code
This commit is contained in:
parent
ba4f3c7e15
commit
8ab01b510f
1 changed files with 0 additions and 13 deletions
13
sql/exprs.go
13
sql/exprs.go
|
@ -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) {
|
func (p *parser) parseIdent() (*Ident, error) {
|
||||||
|
|
||||||
_, lit, err := p.shouldBe(IDENT)
|
_, lit, err := p.shouldBe(IDENT)
|
||||||
|
|
Loading…
Reference in a new issue