diff options
author | Joseph Myers <jsm28@cam.ac.uk> | 2001-07-03 01:46:05 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2001-07-03 01:46:05 +0100 |
commit | aee96fe99b16dc13f61ebd1076b80335e8a71f8b (patch) | |
tree | 02f2765bebf71c9d8ef0658dd2133243122d8af4 /contrib | |
parent | 1ce847cf954a6395ee4f9439a64e0a24ea041134 (diff) | |
download | gcc-aee96fe99b16dc13f61ebd1076b80335e8a71f8b.tar.gz |
extend.texi, [...]: Improve formatting.
gcc:
* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
doc/rtl.texi, doc/tm.texi: Improve formatting. Improve
documentation of -std and -Wwrite-strings.
contrib:
* texi2pod.pl: Handle @r inside @item.
From-SVN: r43718
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rwxr-xr-x | contrib/texi2pod.pl | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog index bd0825e2332..7279ad9adcd 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2001-07-03 Joseph S. Myers <jsm28@cam.ac.uk> + + * texi2pod.pl: Handle @r inside @item. + 2001-07-02 Zack Weinberg <zackw@stanford.edu> * gcc_update: Remove entries for gcc.1, cpp.1, gcov.1. diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index d70b44880a2..7a930eed595 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -279,9 +279,6 @@ sub postprocess s/\@w\{([^\}]*)\}/S<$1>/g; s/\@(?:dmn|math)\{([^\}]*)\}/$1/g; - # Handle @r inside bold. - 1 while s/B<((?:[^<>]|I<[^<>]*>)*)R<([^>]*)>/B<$1>${2}B</g; - # Cross references are thrown away, as are @noindent and @refill. # (@noindent is impossible in .pod, and @refill is unnecessary.) # @* is also impossible in .pod; we discard it and any newline that @@ -303,9 +300,11 @@ sub postprocess s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g; # Turn B<blah I<blah> blah> into B<blah> I<blah> B<blah> to - # match Texinfo semantics of @emph inside @samp. + # match Texinfo semantics of @emph inside @samp. Also handle @r + # inside bold. s/</</g; s/>/>/g; + 1 while s/B<((?:[^<>]|I<[^<>]*>)*)R<([^>]*)>/B<$1>${2}B</g; 1 while (s/B<([^<>]*)I<([^>]+)>/B<$1>I<$2>B</g); 1 while (s/I<([^<>]*)B<([^>]+)>/I<$1>B<$2>I</g); s/[BI]<>//g; |