summaryrefslogtreecommitdiff
path: root/contrib/texi2pod.pl
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/texi2pod.pl
parent56a1f6368ae3358bb35de1fedfc6d3d4b53f08ae (diff)
downloadlinaro-gcc-3390b0dc62ef5cd68008569800224882d391e13e.tar.gz
linaro-gcc-3390b0dc62ef5cd68008569800224882d391e13e.tar.bz2
linaro-gcc-3390b0dc62ef5cd68008569800224882d391e13e.zip
* 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/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";