summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-04-14 11:45:18 -0400
committerTim Hatch <tim@timhatch.com>2014-04-14 11:45:18 -0400
commit95c02716da8c4f46a6d49b6184d5a222e71a7874 (patch)
tree975c8a9f9d23ad52449e89f9632ae8d9f6f85e6f /pygments/lexers/compiled.py
parent77725e425ad7b9f7866351ece872da7f66a40c1a (diff)
parente33a436d17271f351ab2dfc6a8f1e7c0e1f19ad0 (diff)
downloadpygments-95c02716da8c4f46a6d49b6184d5a222e71a7874.tar.gz
Merged in jaingaurav2/pygments-main (pull request #306)
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 db69fdc6..2737859b 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'(\(.*?\))(\s*)([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'),