summaryrefslogtreecommitdiff
path: root/pygments/token.py
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-04-14 10:28:01 -0400
committerTim Hatch <tim@timhatch.com>2014-04-14 10:28:01 -0400
commitf5744a781abb9deb7508118ea0b308cb4724435e (patch)
tree97eb493774b49705c9fb1dcda61b44ec8db76b9d /pygments/token.py
parent948dffaaeae77b83aa3e506495c6a89e5093d869 (diff)
parentb570f7c18d9dea76f6122bf8491aa2370e9264e6 (diff)
downloadpygments-f5744a781abb9deb7508118ea0b308cb4724435e.tar.gz
Merge remote-tracking branch 'pr230/master'
Conflicts: pygments/formatters/latex.py
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 f6c3066d..c40ffd33 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',