summaryrefslogtreecommitdiff
path: root/pygments/token.py
diff options
context:
space:
mode:
authorMiikka Salminen <miikka.salminen@gmail.com>2016-02-06 22:01:49 +0200
committerMiikka Salminen <miikka.salminen@gmail.com>2016-02-06 22:01:49 +0200
commit995aa30dfb51621a017833258654d35ec3fc2c30 (patch)
tree478df67e08fb01720e3426f7006c0ab2f322a35e /pygments/token.py
parent0c812483363f57bc812f979d70d6b6773da6135f (diff)
downloadpygments-995aa30dfb51621a017833258654d35ec3fc2c30.tar.gz
Add tokens for string affixes and heredoc delimiters. Add lexing for them in C/C++, Perl, PHP, Python and Ruby. Update my old style Lovelace accordingly.
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 097ff064..40c3214a 100644
--- a/pygments/token.py
+++ b/pygments/token.py
@@ -163,8 +163,10 @@ STANDARD_TYPES = {
Literal.Date: 'ld',
String: 's',
+ String.Affix: 'sa',
String.Backtick: 'sb',
String.Char: 'sc',
+ String.Delimiter: 'dl',
String.Doc: 'sd',
String.Double: 's2',
String.Escape: 'se',