summaryrefslogtreecommitdiff
path: root/pygments/lexers/dotnet.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-17 06:53:47 +0100
committerGeorg Brandl <georg@python.org>2014-01-17 06:53:47 +0100
commit8d58e854aea5a0061d4fd16e409d043fc402bacc (patch)
treebba45c4c616f884d2737350be84868fab2a574cd /pygments/lexers/dotnet.py
parent58ade6b658b910ad16f923e8376a2bb1a42625ee (diff)
parentc1559dbaaf96b70f9d7f42639dcc90c1164762a7 (diff)
downloadpygments-8d58e854aea5a0061d4fd16e409d043fc402bacc.tar.gz
Merged in jiyinyiyong/pygments-main (pull request #275)
add syntax for Cirru
Diffstat (limited to 'pygments/lexers/dotnet.py')
-rw-r--r--pygments/lexers/dotnet.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py
index a603086b..565bd8dd 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -5,7 +5,7 @@
Lexers for .net languages.
- :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS.
+ :copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
@@ -638,6 +638,8 @@ class FSharpLexer(RegexLexer):
(r'[A-Z][A-Za-z0-9_\']*(?=\s*\.)', Name.Namespace),
(r'[A-Z][A-Za-z0-9_\']*', Name, '#pop'),
(r'[a-z_][A-Za-z0-9_\']*', Name, '#pop'),
+ # e.g. dictionary index access
+ (r'', Text, '#pop'),
],
'comment': [
(r'[^(*)@"]+', Comment),