From 65905edec91d40c50fa67e6fb73cbe993cc914ad Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 18 Mar 2018 07:10:33 +0300 Subject: [PATCH] parserlib actions are void --- vendor-overwrites/csslint/parserlib.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index c661844c..1fa46ef0 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -3889,8 +3889,11 @@ self.parserlib = (() => { for (;; stream.skipComment()) { const action = Parser.ACTIONS.supports.get(stream.peek()); - if (action && action.call(this)) continue; - if (!this._ruleset()) break; + if (action) { + action.call(this); + } else if (!this._ruleset()) { + break; + } } stream.mustMatch(Tokens.RBRACE);