Make nextLabel public

This commit is contained in:
Miek Gieben 2013-06-21 15:23:31 +00:00
parent 9640d43c82
commit ef73958b14
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ func Split(s string) []int {
// nextLabel returns the index of the start of the next label in the
// string s. The bool end is true when the end of the string has been
// reached.
func nextLabel(s string, offset int) (i int, end bool) {
func NextLabel(s string, offset int) (i int, end bool) {
// The other label function are quite generous with memory,
// this one does not allocate.
quote := false