summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorUnknown Name <hearsilent>2014-10-26 06:36:34 +0000
committerUnknown Name <hearsilent>2014-10-26 06:36:34 +0000
commit20ee43aff8281fa94609d2ec33cd0cf852599700 (patch)
treeacceb634a75c6da375725af1ae5ea19fc2ebd57d /pygments
parent953e92558ddf11020e519c47bd11f05729e81e8f (diff)
downloadpygments-20ee43aff8281fa94609d2ec33cd0cf852599700.tar.gz
Add #Else to VB.NET
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 0b395a40..027f6f7d 100644
--- a/pygments/lexers/dotnet.py
+++ b/pygments/lexers/dotnet.py
@@ -382,7 +382,7 @@ class VbNetLexer(RegexLexer):
(r'\n', Text),
(r'rem\b.*?\n', Comment),
(r"'.*?\n", Comment),
- (r'#If\s.*?\sThen|#ElseIf\s.*?\sThen|#End\s+If|#Const|'
+ (r'#If\s.*?\sThen|#ElseIf\s.*?\sThen|#Else|#End\s+If|#Const|'
r'#ExternalSource.*?\n|#End\s+ExternalSource|'
r'#Region.*?\n|#End\s+Region|#ExternalChecksum',
Comment.Preproc),