From 9fa0903819a6687830aa1e7e70f631ca3eeb3a78 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Tue, 15 Jul 2003 09:24:07 +0000 Subject: [PATCH] * texi2pod.pl: Default @itemize's parameter to @bullet. From-SVN: r69399 --- contrib/ChangeLog | 4 ++++ contrib/texi2pod.pl | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 + + * texi2pod.pl: Default @itemize's parameter to @bullet. + 2003-07-12 Zack Weinberg * 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";