summaryrefslogtreecommitdiff
path: root/doc/texi2pod.pl
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-01 14:00:42 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-06-01 14:00:42 +0000
commitacbdbf815ae8c84a4b4c7687a9af63cf04e12492 (patch)
treed1997ade6aa2738aa00bb4efff8a9294084f42ee /doc/texi2pod.pl
parent12f8341ae8819ce5f5e8783ef8af16e595fda21a (diff)
Make texi2pod.pl accept @itemize commands with no following character
or texinfo command for specifying how to generate @item marks, and make it use by default the mark symbol "*". This is consistent with texinfo docs: "If you don't specify a mark command, the default is `@bullet'." Originally committed as revision 23408 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/texi2pod.pl')
-rwxr-xr-xdoc/texi2pod.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index c414ffcc69..5964449a9e 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -241,10 +241,10 @@ 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;
- $ic = $1;
+ $ic = $1 ? $1 : "*";
$_ = "\n=over 4\n";
$endw = "itemize";
};