From 8ab01b510f03be8f4f606b13f3a928610787fd0b Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Wed, 30 May 2018 13:25:53 +0100 Subject: [PATCH] Remove unused code --- sql/exprs.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sql/exprs.go b/sql/exprs.go index 7e4adaaa..afbf67b0 100644 --- a/sql/exprs.go +++ b/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) { _, lit, err := p.shouldBe(IDENT)