[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: @enumerate does not support start numbers ≥ 10
From: |
Dmitry Shachnev |
Subject: |
Re: @enumerate does not support start numbers ≥ 10 |
Date: |
Tue, 09 Jul 2013 21:05:41 +0400 |
Please consider this patch, which fixes the issue:
--- texinfo/Texinfo/Parser.pm
+++ texinfo/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'});
--
Dmitry Shachnev
signature.asc
Description: OpenPGP digital signature
- Re: @enumerate does not support start numbers ≥ 10,
Dmitry Shachnev <=