Fix bug with record id parsing
This commit is contained in:
parent
02bacf121c
commit
e2635e8cf9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue