Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mununki committed Apr 2, 2024
1 parent 4b6720b commit 44d5686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (p *Parser) parseArgs() []*Arg {
if p.lex.peek() == '=' {
p.lex.consumeToken(tokEqual)
defaultValues := []string{}
for p.lex.peek() == '[' {
if p.lex.peek() == '[' {
p.lex.consumeIdent(tokLBracket)
for p.lex.peek() != ']' {
tex, _ := p.lex.consumeIdentInclString(tokNumber)
Expand Down
2 changes: 1 addition & 1 deletion lib/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ func (s *Schema) Parse(p *Parser) {
if p.lex.peek() == '=' {
p.lex.consumeToken(tokEqual)
defaultValues := []string{}
for p.lex.peek() == '[' {
if p.lex.peek() == '[' {
p.lex.consumeIdent(tokLBracket)
for p.lex.peek() != ']' {
tex, _ := p.lex.consumeIdentInclString(tokNumber)
Expand Down

0 comments on commit 44d5686

Please sign in to comment.