Merge '::selector' fix from StanAngeloff

This commit is contained in:
cloudhead
2010-11-26 17:18:01 -05:00
parent 2a26e45900
commit 2dcf227380

View File

@@ -778,7 +778,7 @@ less.Parser = function Parser(env) {
var e, t;
c = $(this.combinator);
e = $(/^[.#:]?[\w-]+/) || $('*') || $(this.attribute) || $(/^\([^)@]+\)/);
e = $(/^(?:[.#]?|:*)[\w-]+/) || $('*') || $(this.attribute) || $(/^\([^)@]+\)/);
if (e) { return new(tree.Element)(c, e) }
},