aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatt Kraai <kraai@alumni.cmu.edu>2003-07-15 09:24:07 +0000
committerMatt Kraai <kraai@gcc.gnu.org>2003-07-15 09:24:07 +0000
commit9fa0903819a6687830aa1e7e70f631ca3eeb3a78 (patch)
tree0ba7ecc9bd52cdb8680c8d449a9e5513e02bd5fd /contrib
parent3cec3f83072da1a2e7bd43b6bae511f6d9e0da91 (diff)
downloadgcc-9fa0903819a6687830aa1e7e70f631ca3eeb3a78.zip
gcc-9fa0903819a6687830aa1e7e70f631ca3eeb3a78.tar.gz
gcc-9fa0903819a6687830aa1e7e70f631ca3eeb3a78.tar.bz2
* texi2pod.pl: Default @itemize's parameter to @bullet.
From-SVN: r69399
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 14efc3a..5d4999a 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 8c63ba2..190d58e 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";