summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-03-22 00:22:32 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-03-22 00:22:32 -0400
commit6bc8a1808912dfa504ec516935a33affd8d84f65 (patch)
tree14165d0a92baf8cddb87071476ab130900fa0e25 /pygments/lexers/compiled.py
parent1cc5cdc3503397d330251dd3bfd5b7286b0ead19 (diff)
downloadpygments-6bc8a1808912dfa504ec516935a33affd8d84f65.tar.gz
Allow whitespace between type and name in method signature
Diffstat (limited to 'pygments/lexers/compiled.py')
-rw-r--r--pygments/lexers/compiled.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py
index 0a244357..eda6f526 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -1434,7 +1434,7 @@ def objective(baselexer):
# discussion in Issue 789
(r',', Punctuation),
(r'\.\.\.', Punctuation),
- (r'(\(.*?\))([a-zA-Z$_][a-zA-Z0-9$_]*)', bygroups(using(this),
+ (r'(\(.*?\))( *[a-zA-Z$_][a-zA-Z0-9$_]*)', bygroups(using(this),
Name.Variable)),
(r'[a-zA-Z$_][a-zA-Z0-9$_]*:', Name.Function),
(';', Punctuation, '#pop'),