aboutsummaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>2007-02-16 01:02:57 +0000
committerMatthias Klose <doko@debian.org>2007-02-16 01:02:57 +0000
commitff2e2d6c8645c1c4985be92c9a89720cfbaa323c (patch)
treea129052e5451e99d0df19e0df38f748e859fb5b6 /contrib/texi2pod.pl
parentaf861b0c51533e2b674354b73e75d7da23cf4fce (diff)
2007-02-16 Matthias Klose <doko@debian.org>
* texi2pod.pl: Handle @subsubsection, ignore @anchor. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@122026 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-xcontrib/texi2pod.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl
index 2791cdd85f0..e7b983bd2d2 100755
--- a/contrib/texi2pod.pl
+++ b/contrib/texi2pod.pl
@@ -254,6 +254,8 @@ while(<$inf>) {
and $_ = "\n=head2 $1\n";
/^\@subsection\s+(.+)$/
and $_ = "\n=head3 $1\n";
+ /^\@subsubsection\s+(.+)$/
+ and $_ = "\n=head4 $1\n";
# Block command handlers:
/^\@itemize(?:\s+(\@[a-z]+|\*|-))?/ and do {
@@ -400,6 +402,9 @@ sub postprocess
s/\@gol//g;
s/\@\*\s*\n?//g;
+ # Anchors are thrown away
+ s/\@anchor\{(?:[^\}]*)\}//g;
+
# @uref can take one, two, or three arguments, with different
# semantics each time. @url and @email are just like @uref with
# one argument, for our purposes.