diff options
author | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-16 01:02:57 +0000 |
---|---|---|
committer | doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-16 01:02:57 +0000 |
commit | ad8630a6126099875d48a2896a03193aeb3ade3c (patch) | |
tree | a129052e5451e99d0df19e0df38f748e859fb5b6 /contrib/texi2pod.pl | |
parent | 97bb28494500b9d33b0aba1d9b429a753aab8ace (diff) | |
download | gcc-ad8630a6126099875d48a2896a03193aeb3ade3c.tar.gz |
2007-02-16 Matthias Klose <doko@debian.org>
* texi2pod.pl: Handle @subsubsection, ignore @anchor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122026 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-x | contrib/texi2pod.pl | 5 |
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. |