summaryrefslogtreecommitdiff
path: root/pygments/token.py
diff options
context:
space:
mode:
authorJonathan Protzenko <jonathan.protzenko@gmail.com>2013-08-21 18:37:00 +0200
committerJonathan Protzenko <jonathan.protzenko@gmail.com>2013-08-21 18:37:00 +0200
commitb570f7c18d9dea76f6122bf8491aa2370e9264e6 (patch)
tree73b12b043bc80cab01815be1ae9128134056e176 /pygments/token.py
parent1ea0fa53d253eae501f0a48611dd01493240b34d (diff)
downloadpygments-b570f7c18d9dea76f6122bf8491aa2370e9264e6.tar.gz
Update the patch from #493 to work with tip.
Diffstat (limited to 'pygments/token.py')
-rw-r--r--pygments/token.py2
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',