summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorthatch <devnull@localhost>2008-12-31 19:24:23 -0600
committerthatch <devnull@localhost>2008-12-31 19:24:23 -0600
commit43a70f0f72d4e42f6b55688f4c4cd5691fa91f7f (patch)
tree4ab97dcad3c913397929f1e94fb51c88d3326d8d /pygments
parentea9797c33ba5096efcb6191404bfc5c3f5c9b8c0 (diff)
downloadpygments-43a70f0f72d4e42f6b55688f4c4cd5691fa91f7f.tar.gz
Seems to make more sense if curlies are punctuation for C#
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/dotnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py
index 6b990004..f1f324b6 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -87,7 +87,7 @@ class CSharpLexer(RegexLexer):
(r'/[*](.|\n)*?[*]/', Comment),
(r'\n', Text),
(r'[~!%^&*()+=|\[\]:;,.<>/?-]', Punctuation),
- (r'[{}]', Keyword),
+ (r'[{}]', Punctuation),
(r'@"(\\\\|\\"|[^"])*"', String),
(r'"(\\\\|\\"|[^"\n])*["\n]', String),
(r"'\\.'|'[^\\]'", String.Char),