[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/end_line.c (parse_line_
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args): fix missing end of firstparagraphindent command name in message. |
Date: |
Sun, 12 Mar 2023 11:15:22 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new c86a67b9fb * tp/Texinfo/XS/parsetexi/end_line.c
(parse_line_command_args): fix missing end of firstparagraphindent command name
in message.
c86a67b9fb is described below
commit c86a67b9fbebe85bafe72d3c942bd400bc50b8ef
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 12 16:15:08 2023 +0100
* tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args): fix
missing end of firstparagraphindent command name in message.
* po/POTFILES.in: add tp/Texinfo/XS/parsetexi/labels.c
* tp/Texinfo/ParserNonXS.pm: synchronize messages with XS parser.
* tp/t/08misc_commands.t: use @firstparagraphindent insert to have it
tested somewhere and add test of an @firstparagraphindent invalid
argument.
---
ChangeLog | 13 ++++
po/POTFILES.in | 1 +
tp/Texinfo/ParserNonXS.pm | 72 +++++++++----------
tp/Texinfo/XS/parsetexi/end_line.c | 2 +-
tp/t/08misc_commands.t | 3 +-
tp/t/results/misc_commands/many_lines.pl | 117 ++++++++++++++++++++++---------
6 files changed, 135 insertions(+), 73 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fc7307d017..a48f998020 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2023-03-12 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args): fix
+ missing end of firstparagraphindent command name in message.
+
+ * po/POTFILES.in: add tp/Texinfo/XS/parsetexi/labels.c
+
+ * tp/Texinfo/ParserNonXS.pm: synchronize messages with XS parser.
+
+ * tp/t/08misc_commands.t: use @firstparagraphindent insert to have it
+ tested somewhere and add test of an @firstparagraphindent invalid
+ argument.
+
2023-03-12 Patrice Dumas <pertusus@free.fr>
Update in-source copy of Text::Unidecode to 1.30
diff --git a/po/POTFILES.in b/po/POTFILES.in
index bd826f3ef5..bbc0246159 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -66,6 +66,7 @@ tp/Texinfo/XS/parsetexi/errors.c
tp/Texinfo/XS/parsetexi/errors.h
tp/Texinfo/XS/parsetexi/handle_commands.c
tp/Texinfo/XS/parsetexi/indices.c
+tp/Texinfo/XS/parsetexi/labels.c
tp/Texinfo/XS/parsetexi/macro.c
tp/Texinfo/XS/parsetexi/menus.c
tp/Texinfo/XS/parsetexi/multitable.c
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index b5d6d8d4d8..bb8770b7aa 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -1274,7 +1274,7 @@ sub _parse_macro_command_line($$$$$;$)
}
} elsif ($line !~ /\S/) {
$self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command), $source_info);
+ __("\@%s requires a name"), $command), $source_info);
$macro->{'extra'} = {'invalid_syntax' => 1};
} else {
$self->_line_error(sprintf(
@@ -1421,7 +1421,7 @@ sub _close_brace_command($$$;$$$)
$interrupting_command, $current->{'cmdname'});
} elsif ($missing_brace) {
$self->_command_error($current, $source_info,
- __("%c%s missing closing brace"), ord('@'), $current->{'cmdname'});
+ __("\@%s missing closing brace"), $current->{'cmdname'});
}
} elsif ($missing_brace) {
$self->_command_error($current, $source_info,
@@ -2024,8 +2024,8 @@ sub _close_current($$$;$$)
$interrupting_command, $command),
$source_info);
} else {
- $self->_line_error(sprintf(__("no matching `%cend %s'"),
- ord('@'), $command),
+ $self->_line_error(sprintf(__("no matching `\@end %s'"),
+ $command),
$source_info);
}
_pop_block_command_contexts($self, $current, $source_info);
@@ -3959,7 +3959,7 @@ sub _end_line_starting_block($$$)
my $name = $current->{'args'}->[0]->{'contents'}->[0]->{'text'};
if ($name !~ /\S/) {
$self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command), $source_info);
+ __("\@%s requires a name"), $command), $source_info);
$bad_line = 0;
} else {
if ($command eq 'ifclear' or $command eq 'ifset') {
@@ -3999,7 +3999,7 @@ sub _end_line_starting_block($$$)
}
} else {
$self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command), $source_info);
+ __("\@%s requires a name"), $command), $source_info);
$bad_line = 0;
}
$self->_line_error(sprintf(
@@ -5124,8 +5124,8 @@ sub _handle_line_command($$$$$$)
while ($parent) {
if ($parent->{'cmdname'} and $parent->{'cmdname'} eq 'copying') {
$self->_line_error(
- sprintf(__("\@%s not allowed inside `\@%s' block"),
- $command, $parent->{'cmdname'}), $source_info);
+ sprintf(__("\@%s not allowed inside `\@copying' block"),
+ $command), $source_info);
$ignored = 1;
last;
}
@@ -5358,9 +5358,9 @@ sub _handle_line_command($$$$$$)
}
}
if (!$found) {
- $self->_line_warn(sprintf(__(
- "\@%s not meaningful outside `\@titlepage' and `\@quotation'
environments"),
- $command), $current->{'source_info'});
+ $self->_line_warn(__(
+ "\@author not meaningful outside `\@titlepage' and `\@quotation'
environments"),
+ $current->{'source_info'});
}
} elsif ($command eq 'dircategory' and $self->{'current_node'}) {
$self->_line_warn(__("\@dircategory after first node"),
@@ -5873,8 +5873,7 @@ sub _handle_close_brace($$$)
if (!defined ($text)
or ($text ne 'i' and $text ne 'j')) {
$self->_line_error(sprintf(
- __("%c%s expects `i' or `j' as argument, not `%s'"),
- ord('@'), $dotless->{'cmdname'},
+ __("\@dotless expects `i' or `j' as argument, not `%s'"),
Texinfo::Convert::Texinfo::convert_to_texinfo($current)),
$source_info);
}
@@ -6301,8 +6300,8 @@ sub _process_remaining_on_line($$$$)
if (!defined($current->{'parent'}->{'info'}->{'delimiter'})) {
if ($line =~ /^$/) {
$current->{'parent'}->{'info'}->{'delimiter'} = '';
- $self->_line_error(sprintf(
- __("\@%s without associated character"), 'verb'), $source_info);
+ $self->_line_error(
+ __("\@verb without associated character"), $source_info);
} else {
$line =~ s/^(.)//;
$current->{'parent'}->{'info'}->{'delimiter'} = $1;
@@ -6688,7 +6687,7 @@ sub _process_remaining_on_line($$$$)
push @{$current->{'contents'}}, $new_element;
}
} else {
- $self->_line_error(sprintf(__("bad syntax for %c%s"), ord('@'),
+ $self->_line_error(sprintf(__("bad syntax for \@%s"),
$command), $source_info);
}
return ($current, $line, $source_info, $retval);
@@ -6696,8 +6695,8 @@ sub _process_remaining_on_line($$$$)
}
if (defined($deprecated_commands{$command})) {
- $self->_line_warn(sprintf(__("%c%s is obsolete"),
- ord('@'), $command), $source_info);
+ $self->_line_warn(sprintf(__("\@%s is obsolete"),
+ $command), $source_info);
}
# special case with @ followed by a newline protecting end of lines
@@ -7049,8 +7048,7 @@ sub _parse_rawline_command($$$$)
$args = [$name, $arg];
$self->{'values'}->{$name} = $arg;
} elsif ($line !~ /\S/) {
- $self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command),
$source_info);
+ $self->_line_error(__("\@set requires a name"), $source_info);
} else {
$self->_line_error(sprintf(
__("bad name for \@%s"), $command), $source_info);
@@ -7062,8 +7060,7 @@ sub _parse_rawline_command($$$$)
delete $self->{'values'}->{$1};
$has_comment = 1 if (defined($3));
} elsif ($line !~ /\S/) {
- $self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command),
$source_info);
+ $self->_line_error(__("\@clear requires a name"), $source_info);
} else {
$self->_line_error(sprintf(
__("bad name for \@%s"), $command), $source_info);
@@ -7076,8 +7073,7 @@ sub _parse_rawline_command($$$$)
$has_comment = 1 if (defined($3));
print STDERR "UNMACRO $1\n" if ($self->{'DEBUG'});
} elsif ($line !~ /\S/) {
- $self->_line_error(sprintf(
- __("%c%s requires a name"), ord('@'), $command),
$source_info);
+ $self->_line_error(__("\@unmacro requires a name"), $source_info);
} else {
$self->_line_error(sprintf(
__("bad name for \@%s"), $command), $source_info);
@@ -7100,8 +7096,8 @@ sub _parse_rawline_command($$$$)
}
} else {
$self->_line_error(sprintf(__(
- "\@%s should only accept an \@-command as argument, not `%s'"),
- $command, $line), $source_info);
+ "\@clickstyle should only accept an \@-command as argument, not `%s'"),
+ $line), $source_info);
}
} else {
$args = [ $line ];
@@ -7164,8 +7160,8 @@ sub _parse_line_command_args($$$)
$args = [$1, $3];
if (exists($block_commands{$existing_command})) {
$self->_line_warn(sprintf(
- __("environment command %s as argument to \@%s"),
- $existing_command, $command), $source_info);
+ __("environment command %s as argument to \@alias"),
+ $existing_command), $source_info);
}
if (exists($self->{'aliases'}->{$existing_command})) {
@@ -7216,8 +7212,8 @@ sub _parse_line_command_args($$$)
} elsif ($command eq 'columnfractions') {
my @possible_fractions = split (/\s+/, $line);
if (!@possible_fractions) {
- $self->_line_error(sprintf(__("empty \@%s"), $command),
- $source_info);
+ $self->_line_error(__("empty \@columnfractions"),
+ $source_info);
} else {
foreach my $fraction (@possible_fractions) {
if ($fraction =~ /^\d*\.\d+$|^\d+\.?$/) {
@@ -7355,32 +7351,32 @@ sub _parse_line_command_args($$$)
$args = [$line];
} else {
$self->_line_error(sprintf(__(
- "Only \@%s 10 or 11 is supported, not `%s'"),
- $command, $line), $source_info);
+ "Only \@fonttextsize 10 or 11 is supported, not `%s'"),
+ $line), $source_info);
}
} elsif ($command eq 'footnotestyle') {
if ($line eq 'separate' or $line eq 'end') {
$args = [$line];
} else {
$self->_line_error(sprintf(__(
- "\@%s arg must be `separate' or `end', not `%s'"),
- $command, $line), $source_info);
+ "\@footnotestyle arg must be `separate' or `end', not
`%s'"),
+ $line), $source_info);
}
} elsif ($command eq 'setchapternewpage') {
if ($line eq 'on' or $line eq 'off' or $line eq 'odd') {
$args = [$line];
} else {
$self->_line_error(sprintf(__(
- "\@%s arg must be `on', `off' or `odd', not `%s'"),
- $command, $line), $source_info);
+ "\@setchapternewpage arg must be `on', `off' or `odd', not
`%s'"),
+ $line), $source_info);
}
} elsif ($command eq 'need') { # only a warning
if (($line =~ /^([0-9]+(\.[0-9]*)?)$/) or
($line =~ /^(\.[0-9]+)$/)) {
$args = [$1];
} else {
- $self->_line_error(sprintf(__("bad argument to \@%s: %s"),
- $command, $line), $source_info);
+ $self->_line_error(sprintf(__("bad argument to \@need: %s"),
+ $line), $source_info);
}
} elsif ($command eq 'paragraphindent') {
if ($line =~ /^([\w\-]+)$/) {
diff --git a/tp/Texinfo/XS/parsetexi/end_line.c
b/tp/Texinfo/XS/parsetexi/end_line.c
index df88f32ac0..2c16d94ea0 100644
--- a/tp/Texinfo/XS/parsetexi/end_line.c
+++ b/tp/Texinfo/XS/parsetexi/end_line.c
@@ -509,7 +509,7 @@ parse_line_command_args (ELEMENT *line_command)
ADD_ARG(line);
}
else
- line_error ("@firstparagraph arg must be "
+ line_error ("@firstparagraphindent arg must be "
"`none' or `insert', not `%s'", line);
break;
diff --git a/tp/t/08misc_commands.t b/tp/t/08misc_commands.t
index c959fe6529..4ba2104f30 100644
--- a/tp/t/08misc_commands.t
+++ b/tp/t/08misc_commands.t
@@ -30,7 +30,8 @@ paragraphindent asis @paragraphindent asis
paragraphindent 0 @paragraphindent 0
paragraphindent none @paragraphindent none
paragraphindent 4 @paragraphindent 4
-firstparagraphindent none @firstparagraphindent none
+firstparagraphindent insert @firstparagraphindent insert
+firstparagraphindent 3 @firstparagraphindent 3
exampleindent 6 @exampleindent 6 on line following exampleindent
exampleindent 6 @exampleindent 6
footnotestyle @footnotestyle end
diff --git a/tp/t/results/misc_commands/many_lines.pl
b/tp/t/results/misc_commands/many_lines.pl
index 917cefd771..d3d44b741a 100644
--- a/tp/t/results/misc_commands/many_lines.pl
+++ b/tp/t/results/misc_commands/many_lines.pl
@@ -681,14 +681,14 @@ $result_trees{'many_lines'} = {
}
},
{
- 'text' => 'firstparagraphindent none '
+ 'text' => 'firstparagraphindent insert '
},
{
'args' => [
{
'contents' => [
{
- 'text' => 'none'
+ 'text' => 'insert'
}
],
'info' => {
@@ -703,7 +703,7 @@ $result_trees{'many_lines'} = {
'cmdname' => 'firstparagraphindent',
'extra' => {
'misc_args' => [
- 'none'
+ 'insert'
]
},
'info' => {
@@ -717,6 +717,38 @@ $result_trees{'many_lines'} = {
'macro' => ''
}
},
+ {
+ 'text' => 'firstparagraphindent 3 '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'text' => '3'
+ }
+ ],
+ 'info' => {
+ 'spaces_after_argument' => {
+ 'text' => '
+'
+ }
+ },
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'firstparagraphindent',
+ 'info' => {
+ 'spaces_before_argument' => {
+ 'text' => ' '
+ }
+ },
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 25,
+ 'macro' => ''
+ }
+ },
{
'text' => 'exampleindent 6 '
},
@@ -745,7 +777,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => ''
}
},
@@ -782,7 +814,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => ''
}
},
@@ -819,7 +851,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 27,
+ 'line_nr' => 28,
'macro' => ''
}
},
@@ -856,7 +888,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 28,
+ 'line_nr' => 29,
'macro' => ''
}
},
@@ -891,7 +923,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 29,
+ 'line_nr' => 30,
'macro' => ''
}
},
@@ -925,7 +957,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 30,
+ 'line_nr' => 31,
'macro' => ''
}
},
@@ -962,7 +994,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 31,
+ 'line_nr' => 32,
'macro' => ''
}
},
@@ -999,7 +1031,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 32,
+ 'line_nr' => 33,
'macro' => ''
}
},
@@ -1036,7 +1068,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 33,
+ 'line_nr' => 34,
'macro' => ''
}
},
@@ -1068,7 +1100,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 34,
+ 'line_nr' => 35,
'macro' => ''
}
},
@@ -1102,7 +1134,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 35,
+ 'line_nr' => 36,
'macro' => ''
}
},
@@ -1136,7 +1168,7 @@ $result_trees{'many_lines'} = {
},
'source_info' => {
'file_name' => '',
- 'line_nr' => 36,
+ 'line_nr' => 37,
'macro' => ''
}
}
@@ -1251,7 +1283,8 @@ paragraphindent asis @paragraphindent asis
paragraphindent 0 @paragraphindent 0
paragraphindent none @paragraphindent none
paragraphindent 4 @paragraphindent 4
-firstparagraphindent none @firstparagraphindent none
+firstparagraphindent insert @firstparagraphindent insert
+firstparagraphindent 3 @firstparagraphindent 3
exampleindent 6 @exampleindent 6 on line following exampleindent
exampleindent 6 @exampleindent 6
footnotestyle @footnotestyle end
@@ -1276,7 +1309,7 @@ Line after finalout
';
-$result_texts{'many_lines'} = 'pagesizes afourpaper smallbook headings
oddfooting everyheading everyfooting evenheading evenfooting oddheading need
need setchapternewpage raisesections lowersections kbdinputstyle code
afourpaper afourlatex afourwide paragraphindent asis paragraphindent 0
paragraphindent none paragraphindent 4 firstparagraphindent none exampleindent
6 exampleindent 6 footnotestyle footnotestyle documentencoding frenchspacing
frenchspacing fonttextsize everyheadingmarks
+$result_texts{'many_lines'} = 'pagesizes afourpaper smallbook headings
oddfooting everyheading everyfooting evenheading evenfooting oddheading need
need setchapternewpage raisesections lowersections kbdinputstyle code
afourpaper afourlatex afourwide paragraphindent asis paragraphindent 0
paragraphindent none paragraphindent 4 firstparagraphindent insert
firstparagraphindent 3 exampleindent 6 exampleindent 6 footnotestyle
footnotestyle documentencoding frenchspacing frenchspacing fonttext [...]
Text line followed by finalout on the same line and another below Text line
after the finalout followed by a fianlout Text line after the text line
followed by the finalout.
Test text after finalout
@@ -1546,11 +1579,29 @@ $result_errors{'many_lines'} = [
'type' => 'warning'
},
{
- 'error_line' => 'warning: @exampleindent should only appear at the
beginning of a line
+ 'error_line' => 'warning: @firstparagraphindent should only appear at the
beginning of a line
',
'file_name' => '',
'line_nr' => 25,
'macro' => '',
+ 'text' => '@firstparagraphindent should only appear at the beginning of a
line',
+ 'type' => 'warning'
+ },
+ {
+ 'error_line' => '@firstparagraphindent arg must be `none\' or `insert\',
not `3\'
+',
+ 'file_name' => '',
+ 'line_nr' => 25,
+ 'macro' => '',
+ 'text' => '@firstparagraphindent arg must be `none\' or `insert\', not
`3\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => 'warning: @exampleindent should only appear at the
beginning of a line
+',
+ 'file_name' => '',
+ 'line_nr' => 26,
+ 'macro' => '',
'text' => '@exampleindent should only appear at the beginning of a line',
'type' => 'warning'
},
@@ -1558,7 +1609,7 @@ $result_errors{'many_lines'} = [
'error_line' => '@exampleindent arg must be numeric/`asis\', not `6 on
line following exampleindent\'
',
'file_name' => '',
- 'line_nr' => 25,
+ 'line_nr' => 26,
'macro' => '',
'text' => '@exampleindent arg must be numeric/`asis\', not `6 on line
following exampleindent\'',
'type' => 'error'
@@ -1567,7 +1618,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @exampleindent should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 26,
+ 'line_nr' => 27,
'macro' => '',
'text' => '@exampleindent should only appear at the beginning of a line',
'type' => 'warning'
@@ -1576,7 +1627,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @footnotestyle should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 27,
+ 'line_nr' => 28,
'macro' => '',
'text' => '@footnotestyle should only appear at the beginning of a line',
'type' => 'warning'
@@ -1585,7 +1636,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @footnotestyle should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 28,
+ 'line_nr' => 29,
'macro' => '',
'text' => '@footnotestyle should only appear at the beginning of a line',
'type' => 'warning'
@@ -1594,7 +1645,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: multiple @footnotestyle
',
'file_name' => '',
- 'line_nr' => 28,
+ 'line_nr' => 29,
'macro' => '',
'text' => 'multiple @footnotestyle',
'type' => 'warning'
@@ -1603,7 +1654,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @documentencoding should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 29,
+ 'line_nr' => 30,
'macro' => '',
'text' => '@documentencoding should only appear at the beginning of a
line',
'type' => 'warning'
@@ -1612,7 +1663,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: encoding `US-ascii encoding name\' is not a
canonical texinfo encoding
',
'file_name' => '',
- 'line_nr' => 29,
+ 'line_nr' => 30,
'macro' => '',
'text' => 'encoding `US-ascii encoding name\' is not a canonical texinfo
encoding',
'type' => 'warning'
@@ -1621,7 +1672,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: unrecognized encoding name `US-ascii encoding
name\'
',
'file_name' => '',
- 'line_nr' => 29,
+ 'line_nr' => 30,
'macro' => '',
'text' => 'unrecognized encoding name `US-ascii encoding name\'',
'type' => 'warning'
@@ -1630,7 +1681,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @frenchspacing should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 31,
+ 'line_nr' => 32,
'macro' => '',
'text' => '@frenchspacing should only appear at the beginning of a line',
'type' => 'warning'
@@ -1639,7 +1690,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @frenchspacing should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 32,
+ 'line_nr' => 33,
'macro' => '',
'text' => '@frenchspacing should only appear at the beginning of a line',
'type' => 'warning'
@@ -1648,7 +1699,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @fonttextsize should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 33,
+ 'line_nr' => 34,
'macro' => '',
'text' => '@fonttextsize should only appear at the beginning of a line',
'type' => 'warning'
@@ -1657,7 +1708,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @everyheadingmarks should only appear at the
beginning of a line
',
'file_name' => '',
- 'line_nr' => 34,
+ 'line_nr' => 35,
'macro' => '',
'text' => '@everyheadingmarks should only appear at the beginning of a
line',
'type' => 'warning'
@@ -1666,7 +1717,7 @@ $result_errors{'many_lines'} = [
'error_line' => '@everyheadingmarks arg must be `top\' or `bottom\', not
`bottom on line following everyheadingmarks\'
',
'file_name' => '',
- 'line_nr' => 34,
+ 'line_nr' => 35,
'macro' => '',
'text' => '@everyheadingmarks arg must be `top\' or `bottom\', not `bottom
on line following everyheadingmarks\'',
'type' => 'error'
@@ -1675,7 +1726,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @finalout should only appear at the beginning of
a line
',
'file_name' => '',
- 'line_nr' => 38,
+ 'line_nr' => 39,
'macro' => '',
'text' => '@finalout should only appear at the beginning of a line',
'type' => 'warning'
@@ -1684,7 +1735,7 @@ $result_errors{'many_lines'} = [
'error_line' => 'warning: @finalout should only appear at the beginning of
a line
',
'file_name' => '',
- 'line_nr' => 40,
+ 'line_nr' => 41,
'macro' => '',
'text' => '@finalout should only appear at the beginning of a line',
'type' => 'warning'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args): fix missing end of firstparagraphindent command name in message.,
Patrice Dumas <=