summaryrefslogtreecommitdiff
path: root/pygments/lexers/compiled.py
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-03-23 00:51:31 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-03-23 00:51:31 -0400
commit4ffd3774584a633cc23697bf5537f4faa0c447d9 (patch)
tree9c2c6014a4fef6cba8058ff958a181f15020fd2b /pygments/lexers/compiled.py
parent8f8ed8cf3e577fb07cd95c66a65b1aac1fa285d2 (diff)
downloadpygments-4ffd3774584a633cc23697bf5537f4faa0c447d9.tar.gz
Method marker should be colored as punctuation, not as a keyword
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 9a242d61..db69fdc6 100644
--- a/pygments/lexers/compiled.py
+++ b/pygments/lexers/compiled.py
@@ -1423,7 +1423,7 @@ def objective(baselexer):
(r'^([-+])(\s*)' # method marker
r'(\(.*?\))?(\s*)' # return type
r'([a-zA-Z$_][a-zA-Z0-9$_]*:?)', # begin of method name
- bygroups(Keyword, Text, using(this),
+ bygroups(Punctuation, Text, using(this),
Text, Name.Function),
'method'),
inherit,