diff options
author | Georg Brandl <georg@python.org> | 2014-01-12 18:27:47 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-01-12 18:27:47 +0100 |
commit | 8389d574c3894c6b8aafb8fbb6a984ab74a073a7 (patch) | |
tree | 949112e7eb8a3c3540735a6a6a5cd6b5f345695d /pygments/lexers/dotnet.py | |
parent | 59bd2d9e3e6e33a90fdc381e28617373248a966d (diff) | |
download | pygments-8389d574c3894c6b8aafb8fbb6a984ab74a073a7.tar.gz |
Closes #948: fix overzealous error highlighting in dotted constructs in F#.
Diffstat (limited to 'pygments/lexers/dotnet.py')
-rw-r--r-- | pygments/lexers/dotnet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/lexers/dotnet.py b/pygments/lexers/dotnet.py index 5bda5c2d..565bd8dd 100644 --- a/pygments/lexers/dotnet.py +++ b/pygments/lexers/dotnet.py @@ -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), |