summaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
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/texi2pod.pl
parent3cec3f83072da1a2e7bd43b6bae511f6d9e0da91 (diff)
* texi2pod.pl: Default @itemize's parameter to @bullet.
From-SVN: r69399
Diffstat (limited to 'contrib/texi2pod.pl')
-rwxr-xr-xcontrib/texi2pod.pl7
1 files changed, 6 insertions, 1 deletions
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";