OSDN Git Service

* texi2pod.pl: Default @itemize's parameter to @bullet.
authorkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jul 2003 09:24:07 +0000 (09:24 +0000)
committerkraai <kraai@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jul 2003 09:24:07 +0000 (09:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69399 138bc75d-0d04-0410-961f-82ee72b054a4

contrib/ChangeLog
contrib/texi2pod.pl

index 14efc3a..5d4999a 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-15  Matt Kraai  <kraai@alumni.cmu.edu>
+
+       * texi2pod.pl: Default @itemize's parameter to @bullet.
+
 2003-07-12  Zack Weinberg  <zack@codesourcery.com>
 
        * gcc_update: gcc/acconfig.h no longer exists.
index 8c63ba2..190d58e 100755 (executable)
@@ -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";