|
il y a 6 mois | |
---|---|---|
.gitignore | il y a 1 an | |
README.md | il y a 1 an | |
documentation.pdf | il y a 6 mois | |
documentation.tex | il y a 6 mois | |
example.c | il y a 1 an | |
listings-extx.py | il y a 6 mois |
listings-extx.py
Some programme to get named entries for listings-ext
Author : Jonathan P. Spratte
Version : 1.0.1
Copyright © : 2019 Jonathan P. Spratte
License : GPLv3+ https://gnu.org/licenses/gpl.html
Documentation : documentation.pdf
Extracts code blocks which are guarded by
\s+<cc> be: <name> .*
.
.
.
\s+<cc> ee: <name> .*
With <cc>
being a comment starting character or character sequence and <name>
being a string matching [\w:]+
. .*
is discarded. Combining different code blocks is possible with
\s+<cc> je: <name> <others...> .*
Where <others...>
is a space separated list of names matching [\w:]
. Additionally every code block can be combined with
\s+<cc> ae: <name> .*