summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-03 00:46:05 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-03 00:46:05 +0000
commit70c2c81c4794f0a090635a99d1c69a0be654f3f8 (patch)
tree02f2765bebf71c9d8ef0658dd2133243122d8af4 /contrib
parentb948a0a400ba1228260b1a427ff24ef3ca6f855a (diff)
downloadgcc-70c2c81c4794f0a090635a99d1c69a0be654f3f8.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43718 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/texi2pod.pl7
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/&LT;/</g;
s/&GT;/>/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;