Skip to content

Commit

Permalink
fix: boundary error
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Apr 9, 2024
1 parent b9198ee commit 5d382f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func token(args *[]string) (t string, length int) {
}
}
if length == 0 { // centinel
t, length = src[1:], len(src)-1
t, length = src[1:], len(src)
}

default:
Expand Down

0 comments on commit 5d382f0

Please sign in to comment.