aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 09:24:07 +0000
committerkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-15 09:24:07 +0000
commit3390b0dc62ef5cd68008569800224882d391e13e (patch)
tree0ba7ecc9bd52cdb8680c8d449a9e5513e02bd5fd /contrib
parent56a1f6368ae3358bb35de1fedfc6d3d4b53f08ae (diff)
* texi2pod.pl: Default @itemize's parameter to @bullet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69399 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/texi2pod.pl7
2 files changed, 10 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 14efc3a684a..5d4999ab5ce 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2003-07-15 Matt Kraai <kraai@alumni.cmu.edu>
+
+ * texi2pod.pl: Default @itemize's parameter to @bullet.
+
2003-07-12 Zack Weinberg <zack@codesourcery.com>
* gcc_update: gcc/acconfig.h no longer exists.
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl
index 8c63ba29200..190d58e8c95 100755
--- a/contrib/texi2pod.pl
+++ b/contrib/texi2pod.pl
@@ -241,9 +241,14 @@ while(<$inf>) {
and $_ = "\n=head3 $1\n";
# Block command handlers:
- /^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
+ /^\@itemize(?:\s+(\@[a-z]+|\*|-))?/ and do {
push @endwstack, $endw;
push @icstack, $ic;
+ if (defined $1) {
+ $ic = $1;
+ } else {
+ $ic = '@bullet';
+ }
$ic = $1;
$_ = "\n=over 4\n";
$endw = "itemize";