diff options
author | Frédéric Guillot <fred@miniflux.net> | 2017-12-16 11:25:18 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2017-12-16 11:25:18 -0800 |
commit | 27196589fbd36f5f840e51b59bd6253d0f865db3 (patch) | |
tree | 4896268c735528045e4064ace92a2a75280585b8 /vendor/github.com/tdewolff/parse/js/lex.go | |
parent | 231ebf2daa9c024fbe99277f57935444946824bd (diff) |
Add FeedIcon API call and update dependencies
Diffstat (limited to 'vendor/github.com/tdewolff/parse/js/lex.go')
-rw-r--r-- | vendor/github.com/tdewolff/parse/js/lex.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/tdewolff/parse/js/lex.go b/vendor/github.com/tdewolff/parse/js/lex.go index 96ffcd8..3ee73e7 100644 --- a/vendor/github.com/tdewolff/parse/js/lex.go +++ b/vendor/github.com/tdewolff/parse/js/lex.go @@ -599,6 +599,8 @@ func (l *Lexer) consumeRegexpToken() bool { if l.consumeLineTerminator() { l.r.Rewind(mark) return false + } else if l.r.Peek(0) == 0 { + return true } } else if l.consumeLineTerminator() { l.r.Rewind(mark) |