diff options
author | Georg Brandl <georg@python.org> | 2016-02-26 10:09:18 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2016-02-26 10:09:18 +0100 |
commit | 1e3fa4bde6827107e7f5d6a3f38f57c51618ba82 (patch) | |
tree | 1ea6d3e16393aa41f2e647c09d6f979d34cc79da /pygments/lexers/css.py | |
parent | d75dd4a9501658a05db7475b4b6d5800a1a92700 (diff) | |
parent | 4611730d0ca3cc6baad598f1802759bbf5bcad38 (diff) | |
download | pygments-git-1e3fa4bde6827107e7f5d6a3f38f57c51618ba82.tar.gz |
merge with stable
Diffstat (limited to 'pygments/lexers/css.py')
-rw-r--r-- | pygments/lexers/css.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pygments/lexers/css.py b/pygments/lexers/css.py index b40201f4..6c585dfa 100644 --- a/pygments/lexers/css.py +++ b/pygments/lexers/css.py @@ -476,8 +476,8 @@ class ScssLexer(RegexLexer): (r'@[\w-]+', Keyword, 'selector'), (r'(\$[\w-]*\w)([ \t]*:)', bygroups(Name.Variable, Operator), 'value'), # TODO: broken, and prone to infinite loops. - #(r'(?=[^;{}][;}])', Name.Attribute, 'attr'), - #(r'(?=[^;{}:]+:[^a-z])', Name.Attribute, 'attr'), + # (r'(?=[^;{}][;}])', Name.Attribute, 'attr'), + # (r'(?=[^;{}:]+:[^a-z])', Name.Attribute, 'attr'), default('selector'), ], @@ -518,7 +518,7 @@ class LessCssLexer(CssLexer): inherit, ], 'content': [ - (r'{', Punctuation, '#push'), + (r'\{', Punctuation, '#push'), inherit, ], } |