Skip to content

Commit

Permalink
Update parser/parser.go
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenACoffman committed Jan 11, 2024
1 parent a4c3b66 commit 316604e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parser/parser.go
Expand Up @@ -26,6 +26,10 @@ type parser struct {
maxTokenLimit int
}

func (p *parser) SetMaxTokenLimit(maxToken int) {
p.maxTokenLimit = maxToken
}

func (p *parser) consumeComment() (*ast.Comment, bool) {
if p.err != nil {
return nil, false
Expand Down

0 comments on commit 316604e

Please sign in to comment.