diff options
Diffstat (limited to 'pygments/token.py')
-rw-r--r-- | pygments/token.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/token.py b/pygments/token.py index 19a83f2e..c31b7949 100644 --- a/pygments/token.py +++ b/pygments/token.py @@ -49,6 +49,7 @@ Token = _TokenType() # Special token types Text = Token.Text Whitespace = Text.Whitespace +Escape = Token.Escape Error = Token.Error # Text that doesn't belong to this lexer (e.g. HTML in PHP) Other = Token.Other @@ -116,6 +117,7 @@ STANDARD_TYPES = { Text: '', Whitespace: 'w', + Escape: 'esc', Error: 'err', Other: 'x', |