vendor/github.com/magiconair/properties/lex.go
changeset 260 445e01aede7e
parent 242 2a9ec03fe5a1
child 265 05c40b36d3b2
--- a/vendor/github.com/magiconair/properties/lex.go	Tue Aug 23 22:33:28 2022 +0200
+++ b/vendor/github.com/magiconair/properties/lex.go	Tue Aug 23 22:39:43 2022 +0200
@@ -128,18 +128,6 @@
 	l.backup()
 }
 
-// acceptRunUntil consumes a run of runes up to a terminator.
-func (l *lexer) acceptRunUntil(term rune) {
-	for term != l.next() {
-	}
-	l.backup()
-}
-
-// hasText returns true if the current parsed text is not empty.
-func (l *lexer) isNotEmpty() bool {
-	return l.pos > l.start
-}
-
 // lineNumber reports which line we're on, based on the position of
 // the previous item returned by nextItem. Doing it this way
 // means we don't have to worry about peek double counting.