mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
texi2pod.pl: Handle @subsubsection, ignore @anchor.
2007-02-16 Matthias Klose <doko@debian.org> * texi2pod.pl: Handle @subsubsection, ignore @anchor. From-SVN: r122026
This commit is contained in:
parent
73663bb75e
commit
d0fc3f0654
@ -1,3 +1,7 @@
|
||||
2007-02-16 Matthias Klose <doko@debian.org>
|
||||
|
||||
* texi2pod.pl: Handle @subsubsection, ignore @anchor.
|
||||
|
||||
2007-02-10 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* test_summary (configflags): Adjust for changes in the
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user