From e4c399a1c043be9b07da15fa2c9e5f6450dfd6d1 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 28 Feb 2018 21:16:00 +0300 Subject: [PATCH] try to ignore /*[[USO-var]]*// first --- vendor-overwrites/csslint/parserlib.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/vendor-overwrites/csslint/parserlib.js b/vendor-overwrites/csslint/parserlib.js index 33e8e960..d6c1eb90 100644 --- a/vendor-overwrites/csslint/parserlib.js +++ b/vendor-overwrites/csslint/parserlib.js @@ -2511,6 +2511,13 @@ self.parserlib = (() => { let result, m; if (this.simple[''](part)) { + if (expression._i < expression._parts.length - 1) { + expression.mark(); + expression._i++; + result = ValidationTypes.isType(expression, type); + expression.restore(); + expression._i += result ? 1 : 0; + } result = true; } else if (!type.startsWith('<')) {