summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/magiconair/properties/parser.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/magiconair/properties/parser.go')
-rw-r--r--vendor/github.com/magiconair/properties/parser.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/vendor/github.com/magiconair/properties/parser.go b/vendor/github.com/magiconair/properties/parser.go
index cdc4a803..430e4fcd 100644
--- a/vendor/github.com/magiconair/properties/parser.go
+++ b/vendor/github.com/magiconair/properties/parser.go
@@ -59,14 +59,6 @@ func (p *parser) errorf(format string, args ...interface{}) {
panic(fmt.Errorf(format, args...))
}
-func (p *parser) expect(expected itemType) (token item) {
- token = p.lex.nextItem()
- if token.typ != expected {
- p.unexpected(token)
- }
- return token
-}
-
func (p *parser) expectOneOf(expected ...itemType) (token item) {
token = p.lex.nextItem()
for _, v := range expected {
@@ -91,5 +83,4 @@ func (p *parser) recover(errp *error) {
}
*errp = e.(error)
}
- return
}