summaryrefslogtreecommitdiff
path: root/doc/docs
diff options
context:
space:
mode:
authorMiikka Salminen <miikka.salminen@gmail.com>2015-03-07 22:30:17 +0200
committerMiikka Salminen <miikka.salminen@gmail.com>2015-03-07 22:30:17 +0200
commitb55a3a9f79dc14c146a11aa32230624469ff874b (patch)
tree280cc94008825cf08ee03f6455682a27025d974a /doc/docs
parent50c6950c7fa48cce73af6072b35f40608a158306 (diff)
downloadpygments-b55a3a9f79dc14c146a11aa32230624469ff874b.tar.gz
Added a new token type Comment.Hashbang with its documentation, and a support for it in Javascript, Perl, Python, Ruby and Bash lexers.
Diffstat (limited to 'doc/docs')
-rw-r--r--doc/docs/tokens.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/docs/tokens.rst b/doc/docs/tokens.rst
index 194eb70f..6455a501 100644
--- a/doc/docs/tokens.rst
+++ b/doc/docs/tokens.rst
@@ -297,6 +297,10 @@ Comments
`Comment`
Token type for any comment.
+`Comment.Hashbang`
+ Token type for hashbang comments (i.e. first lines of files that start with
+ ``#!``).
+
`Comment.Multiline`
Token type for multiline comments.