summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEevee (Alex Munroe) <eevee.git@veekun.com>2013-10-08 11:39:28 -0700
committerEevee (Alex Munroe) <eevee.git@veekun.com>2013-10-08 11:39:41 -0700
commitae645836e69229051e69722201144ada385eca04 (patch)
treee135e1b8c98afc1721d09d0e5b0789c796aeb80c
parent4cf4f6a7eacff9da3ba88b74560d2eb8e3bb852c (diff)
downloadpyscss-ae645836e69229051e69722201144ada385eca04.tar.gz
Fix parsing of multiple selectors without spaces after commas.
-rw-r--r--scss/selector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/selector.py b/scss/selector.py
index 3c01eb8..ebaed3c 100644
--- a/scss/selector.py
+++ b/scss/selector.py
@@ -26,7 +26,7 @@ SELECTOR_TOKENIZER = re.compile(r'''
[:]+ [-\w]+ (?: [(] .+? [)] )?
# These guys are combinators -- note that a single space counts too
- | \s* [ +>~] \s*
+ | \s* [ +>~,] \s*
# Square brackets are attribute tests
# TODO: this doesn't handle ] within a string