Skip to content

Commit

Permalink
Replace with token (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
mununki authored Oct 6, 2023
1 parent 44e7869 commit 206e929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() == '!' {
Expand Down

0 comments on commit 206e929

Please sign in to comment.