mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
12f8341ae8
commit
acbdbf815a
@ -241,10 +241,10 @@ while(<$inf>) {
|
|||||||
and $_ = "\n=head3 $1\n";
|
and $_ = "\n=head3 $1\n";
|
||||||
|
|
||||||
# Block command handlers:
|
# Block command handlers:
|
||||||
/^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
|
/^\@itemize\s*(\@[a-z]+|\*|-)?/ and do {
|
||||||
push @endwstack, $endw;
|
push @endwstack, $endw;
|
||||||
push @icstack, $ic;
|
push @icstack, $ic;
|
||||||
$ic = $1;
|
$ic = $1 ? $1 : "*";
|
||||||
$_ = "\n=over 4\n";
|
$_ = "\n=over 4\n";
|
||||||
$endw = "itemize";
|
$endw = "itemize";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user