diff --git a/lib/less/parser.js b/lib/less/parser.js index 4b3efd54..6ea4f8be 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -945,7 +945,9 @@ less.Parser = function Parser(env) { selector: function () { var sel, e, elements = [], c, match; - if (sel = $(this.entities.quoted)) { + if ($('(')) { + sel = $(this.entity); + expect(')'); return new(tree.Selector)([new(tree.Element)('', sel, i)]); }