This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Error building gcc.pod
- From: Matt Kraai <kraai at alumni dot cmu dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Jul 2003 13:01:49 -0700
- Subject: Error building gcc.pod
Howdy,
texi2pod.pl doesn't know that the parameter to @itemize should
default to @bullet. As a result, it fails to build gcc.pod:
perl ../../gcc/gcc/../contrib/texi2pod.pl ../../gcc/gcc/doc/invoke.texi > gcc.pod
@table ended by @end itemize at line 3083
make[2]: [../../gcc/gcc/doc/gcc.1] Error 255 (ignored)
The following patch makes it default to @bullet.
Tested by generating gcc.pod.
OK to commit?
--
Matt Kraai kraai@alumni.cmu.edu Debian GNU/Linux
* texi2pod.pl: Default @itemize's parameter to @bullet.
*** texi2pod.pl.~1.20.~ Sat May 24 07:36:21 2003
--- texi2pod.pl Tue Jul 8 11:35:15 2003
***************
*** 241,250 ****
and $_ = "\n=head3 $1\n";
# Block command handlers:
! /^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
push @endwstack, $endw;
push @icstack, $ic;
! $ic = $1;
$_ = "\n=over 4\n";
$endw = "itemize";
};
--- 241,254 ----
and $_ = "\n=head3 $1\n";
# Block command handlers:
! /^\@itemize(?:\s+(\@[a-z]+|\*|-))?/ and do {
push @endwstack, $endw;
push @icstack, $ic;
! if (defined $1) {
! $ic = $1;
! } else {
! $ic = '@bullet';
! }
$_ = "\n=over 4\n";
$endw = "itemize";
};