summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/agile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py
index 932d7edd..26898e39 100644
--- a/pygments/lexers/agile.py
+++ b/pygments/lexers/agile.py
@@ -102,8 +102,8 @@ class PythonLexer(RegexLexer):
r'SyntaxError|SyntaxWarning|SystemError|SystemExit|TabError|'
r'TypeError|UnboundLocalError|UnicodeDecodeError|'
r'UnicodeEncodeError|UnicodeError|UnicodeTranslateError|'
- r'UnicodeWarning|UserWarning|ValueError|Warning|ZeroDivisionError'
- r')\b', Name.Exception),
+ r'UnicodeWarning|UserWarning|ValueError|VMSError|Warning|'
+ r'WindowsError|ZeroDivisionError)\b', Name.Exception),
],
'numbers': [
(r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),
@@ -223,8 +223,8 @@ class Python3Lexer(RegexLexer):
r'SyntaxError|SyntaxWarning|SystemError|SystemExit|TabError|'
r'TypeError|UnboundLocalError|UnicodeDecodeError|'
r'UnicodeEncodeError|UnicodeError|UnicodeTranslateError|'
- r'UnicodeWarning|UserWarning|ValueError|Warning|ZeroDivisionError'
- r')\b', Name.Exception),
+ r'UnicodeWarning|UserWarning|ValueError|VMSError|Warning|'
+ r'WindowsError|ZeroDivisionError)\b', Name.Exception),
]
tokens['numbers'] = [
(r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float),