diff options
author | Miikka Salminen <miikka.salminen@gmail.com> | 2016-02-06 22:01:49 +0200 |
---|---|---|
committer | Miikka Salminen <miikka.salminen@gmail.com> | 2016-02-06 22:01:49 +0200 |
commit | 995aa30dfb51621a017833258654d35ec3fc2c30 (patch) | |
tree | 478df67e08fb01720e3426f7006c0ab2f322a35e /pygments/token.py | |
parent | 0c812483363f57bc812f979d70d6b6773da6135f (diff) | |
download | pygments-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.py | 2 |
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', |