Skip to content

Commit

Permalink
Minor fix to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshaw committed Sep 20, 2024
1 parent d1bb887 commit db612b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func (p *Parser) readNext(r []rune, i, end int) (string, string, token, error) {
return seq, string(r[i:findEnd(r, i, end)]), tokenBind, nil
}

// readSet reads the next two symbols.
// readSymbols reads the next two symbols.
func (p *Parser) readSymbols(r []rune, i, end int, tok token, allowStrings bool) (string, string, token, error) {
start := findNonSpace(r, i, end)
i = findEnd(r, start, end)
Expand Down Expand Up @@ -331,7 +331,7 @@ func (p *Parser) do(h Handler, a, b string) error {
// Option is a parser option.
type Option func(*Parser)

// WithHaltOnErr is a parser option to set halt on every encountered error.
// WithHaltOnErr is a parser option to halt on every encountered error.
func WithHaltOnErr(haltOnErr bool) Option {
return func(p *Parser) {
p.haltOnErr = haltOnErr
Expand Down

0 comments on commit db612b1

Please sign in to comment.