diff options
author | Andrew T. Biehl <70184461+andrewtbiehl@users.noreply.github.com> | 2022-07-15 03:51:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 10:51:47 +0200 |
commit | 2ebc5eaa28edeb89efc3324e0e82e10c57b9b6e0 (patch) | |
tree | 95e2c26bd1e1581fe84d8f68323a21b8a45b723d /doc/docs | |
parent | 766c0f562633273650798301361b43695db97911 (diff) | |
download | pygments-git-2ebc5eaa28edeb89efc3324e0e82e10c57b9b6e0.tar.gz |
Reconcile standard token discrepancies in docs and code (#2187)
* Add Name.Property token missing from docs
* Add Comment.PreprocFile token missing from docs
* Add Punctuation.Marker token to tokens dict
Diffstat (limited to 'doc/docs')
-rw-r--r-- | doc/docs/tokens.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/docs/tokens.rst b/doc/docs/tokens.rst index bc0235e1..0bc75862 100644 --- a/doc/docs/tokens.rst +++ b/doc/docs/tokens.rst @@ -180,6 +180,9 @@ Name Tokens `Name.Other` Other names. Normally unused. +`Name.Property` + Additional token type occasionally used for class attributes. + `Name.Tag` Tag names (in HTML/XML markup or configuration files). @@ -321,6 +324,9 @@ Comments `Comment.Preproc` Token type for preprocessor comments (also ``<?php``/``<%`` constructs). +`Comment.PreprocFile` + Token type for filenames in preprocessor comments, such as include files in C/C++. + `Comment.Single` Token type for comments that end at the end of a line (e.g. ``# foo``). |