diff --git a/sql/ast.go b/sql/ast.go index 21a7ea50..009ddca1 100644 --- a/sql/ast.go +++ b/sql/ast.go @@ -674,7 +674,7 @@ type Thing struct { func ParseThing(val string) *Thing { r := strings.NewReader(val) s := newScanner(r) - if t, _, v := s.scanThing(); t == THING { + if t, _, v := s.scanIdiom(); t == THING { return v.(*Thing) } return nil