summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/magiconair/properties/lex.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/magiconair/properties/lex.go')
-rw-r--r--vendor/github.com/magiconair/properties/lex.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/magiconair/properties/lex.go b/vendor/github.com/magiconair/properties/lex.go
index a3cba0319..c63fcc60d 100644
--- a/vendor/github.com/magiconair/properties/lex.go
+++ b/vendor/github.com/magiconair/properties/lex.go
@@ -196,9 +196,8 @@ func lexBeforeKey(l *lexer) stateFn {
return lexComment
case isWhitespace(r):
- l.acceptRun(whitespace)
l.ignore()
- return lexKey
+ return lexBeforeKey
default:
l.backup()