Skip to content

Commit

Permalink
make diff
Browse files Browse the repository at this point in the history
  • Loading branch information
mununki committed Oct 5, 2023
1 parent 41b10d1 commit 2170a8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func (p *Parser) parseArgs() []*Arg {
p.lex.consumeToken(tokLParen)
for p.lex.peek() != ')' {
arg := Arg{}
name, comments := p.lex.consumeIdent(tokInput, tokType)
name, comments := p.lex.consumeIdent(tokType)
arg.Name = name.String()
arg.Descriptions = comments
p.lex.consumeToken(tokColon)
Expand Down

0 comments on commit 2170a8f

Please sign in to comment.