diff --git a/lib/schema.go b/lib/schema.go index 03db03b..a30949f 100644 --- a/lib/schema.go +++ b/lib/schema.go @@ -207,7 +207,7 @@ func (s *Schema) Parse(p *Parser) { if p.lex.peek() == '[' { fd.IsList = true - p.lex.consumeToken('[') + p.lex.consumeToken(tokLBracket) name, _ = p.lex.consumeIdent() fd.Type = name.String() if p.lex.peek() == '!' {