Control: reassign -1 texinfo
Control: found -1 texinfo/5.1.dfsg.1-3
Control: tags -1 + upstream patch

This is actually an issue in texinfo's parser, which doesn't support
arguments to @enumerate more than 10.

This was discussed on upstream mailing list, and a patch that fixes
the issue was proposed (attached).

See <https://lists.gnu.org/archive/html/bug-texinfo/2013-07/index.html>.

Reassigning accordingly.

--
Dmitry Shachnev
--- a/tp/Texinfo/Parser.pm
+++ b/tp/Texinfo/Parser.pm
@@ -2973,7 +2973,8 @@
                         $current->{'cmdname'});
           }
           my $arg =
$current->{'extra'}->{'block_command_line_contents'}->[0]->[0];
-          if (!defined($arg->{'text'}) or $arg->{'text'} !~ /^[[:alnum:]]$/) {
+          if (!defined($arg->{'text'}) or ($arg->{'text'} !~ /^[[:alnum:]]$/ and
+              $arg->{'text'} !~ /^[0-9]+$/)) {
             $self->_command_error($current, $line_nr,
                         $self->__("bad argument to address@hidden"),
                         $current->{'cmdname'});
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -1382,7 +1382,7 @@
   my $specification = shift;
   my $number = shift;
 
-  if ($specification =~ /^[0-9]$/) {
+  if ($specification =~ /^[0-9]+$/) {
     return $specification + $number -1;
   }

Reply via email to