forked from lug/matterbridge
Update dependencies (#1813)
This commit is contained in:
12
vendor/github.com/magiconair/properties/lex.go
generated
vendored
12
vendor/github.com/magiconair/properties/lex.go
generated
vendored
@@ -128,18 +128,6 @@ func (l *lexer) acceptRun(valid string) {
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user