summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-03-22 15:11:57 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-03-22 15:11:57 -0400
commit4e05778608f335f062ccee43d06562610409f92c (patch)
treebcd25d4cc83bdafab3a061a4bd2d2c4477e9e509 /pygments/lexers/compiled.py
parent6bc8a1808912dfa504ec516935a33affd8d84f65 (diff)
downloadpygments-4e05778608f335f062ccee43d06562610409f92c.tar.gz
Fixed previous commit to match whitespace seperately from variable name
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index eda6f526..0a976fa4 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -1434,8 +1434,8 @@ def objective(baselexer):
# discussion in Issue 789
(r',', Punctuation),
(r'\.\.\.', Punctuation),
- (r'(\(.*?\))( *[a-zA-Z$_][a-zA-Z0-9$_]*)', bygroups(using(this),
- Name.Variable)),
+ (r'(\(.*?\))( *)([a-zA-Z$_][a-zA-Z0-9$_]*)',
+ bygroups(using(this), Text, Name.Variable)),
(r'[a-zA-Z$_][a-zA-Z0-9$_]*:', Name.Function),
(';', Punctuation, '#pop'),
('{', Punctuation, 'function'),