diff options
author | Unknown Name <hearsilent> | 2014-10-26 06:36:34 +0000 |
---|---|---|
committer | Unknown Name <hearsilent> | 2014-10-26 06:36:34 +0000 |
commit | 20ee43aff8281fa94609d2ec33cd0cf852599700 (patch) | |
tree | acceb634a75c6da375725af1ae5ea19fc2ebd57d | |
parent | 953e92558ddf11020e519c47bd11f05729e81e8f (diff) | |
download | pygments-20ee43aff8281fa94609d2ec33cd0cf852599700.tar.gz |
Add #Else to VB.NET
-rw-r--r-- | pygments/lexers/dotnet.py | 2 |
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), |