[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Tests of multitable prototype not closed. Change
From: |
Patrice Dumas |
Subject: |
branch master updated: Tests of multitable prototype not closed. Change in comments/TODO. |
Date: |
Sun, 04 Sep 2022 15:45:21 -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 6b58f93338 Tests of multitable prototype not closed. Change in
comments/TODO.
6b58f93338 is described below
commit 6b58f93338b326dcba52847c1c59e388cb5f5230
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Sep 4 21:44:38 2022 +0200
Tests of multitable prototype not closed. Change in comments/TODO.
---
tp/TODO | 2 +-
tp/Texinfo/ParserNonXS.pm | 2 +-
tp/t/21multitable.t | 45 ++++++
...ultitable_bracketed_no_inter_space_prototype.pl | 147 +++++++++++++++++++
...titable_bracketed_prototype_empty_not_closed.pl | 128 +++++++++++++++++
...bracketed_prototype_empty_not_closed_comment.pl | 149 ++++++++++++++++++++
..._bracketed_prototype_empty_spaces_not_closed.pl | 128 +++++++++++++++++
...ed_prototype_empty_spaces_not_closed_comment.pl | 152 ++++++++++++++++++++
.../multitable_bracketed_prototype_not_closed.pl | 138 ++++++++++++++++++
...table_bracketed_prototype_not_closed_comment.pl | 156 +++++++++++++++++++++
...bracketed_prototype_not_closed_space_comment.pl | 156 +++++++++++++++++++++
.../multitable_empty_bracketed_prototype.pl | 142 +++++++++++++++++++
12 files changed, 1343 insertions(+), 2 deletions(-)
diff --git a/tp/TODO b/tp/TODO
index 46d82eccff..5762e70c7b 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -477,7 +477,7 @@ classes like summary-letter-printindex,
cp-entries-printindex or
cp-letters-header-printindex for the different parts of the @printindex
formatting.
-ref- and -ref are used for classes related to @def*, in general without
+def- and -def are used for classes related to @def*, in general without
the specific command name used.
For the classes not associated with @-commands, the names were selected to
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index eab9b4b66e..bc334fc7c0 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -3954,8 +3954,8 @@ sub _parse_texi($$$)
and $current->{'contents'}->[-1]->{'type'}
and $current->{'contents'}->[-1]->{'type'}
eq 'empty_spaces_before_argument') {
+ # Empty spaces after brace or comma till the end of line.
# Remove this element and update 'extra' values.
- # FIXME: should we continue with this element instead?
_abort_empty_line($self, $current);
}
$line =~ s/^([^\S\r\n]*)//;
diff --git a/tp/t/21multitable.t b/tp/t/21multitable.t
index 2494bcaf2c..28ac3c76b7 100644
--- a/tp/t/21multitable.t
+++ b/tp/t/21multitable.t
@@ -205,6 +205,51 @@ my @test_invalid = (
@item it
@end multitable
'],
+['multitable_empty_bracketed_prototype',
+'
+@multitable {} {a}
+@end multitable
+'],
+['multitable_bracketed_no_inter_space_prototype',
+'
+@multitable {a}{b}
+@end multitable
+'],
+['multitable_bracketed_prototype_empty_not_closed',
+'
+@multitable {
+@end multitable
+'],
+['multitable_bracketed_prototype_empty_not_closed_comment',
+'
+@multitable {@comment comment
+@end multitable
+'],
+['multitable_bracketed_prototype_empty_spaces_not_closed',
+'
+@multitable {
+@end multitable
+'],
+['multitable_bracketed_prototype_empty_spaces_not_closed_comment',
+'
+@multitable { @comment comment
+@end multitable
+'],
+['multitable_bracketed_prototype_not_closed',
+'
+@multitable { a
+@end multitable
+'],
+['multitable_bracketed_prototype_not_closed_comment',
+'
+@multitable {a@c comment
+@end multitable
+'],
+['multitable_bracketed_prototype_not_closed_space_comment',
+'
+@multitable {a @c comment
+@end multitable
+'],
);
foreach my $test (@test_cases) {
diff --git
a/tp/t/results/multitable/multitable_bracketed_no_inter_space_prototype.pl
b/tp/t/results/multitable/multitable_bracketed_no_inter_space_prototype.pl
new file mode 100644
index 0000000000..c14707ea67
--- /dev/null
+++ b/tp/t/results/multitable/multitable_bracketed_no_inter_space_prototype.pl
@@ -0,0 +1,147 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_no_inter_space_prototype'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'b'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 2,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ },
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[1]{'contents'}[0]
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0];
+$result_trees{'multitable_bracketed_no_inter_space_prototype'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_no_inter_space_prototype'};
+
+$result_texis{'multitable_bracketed_no_inter_space_prototype'} = '
+@multitable {a}{b}
+@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_no_inter_space_prototype'} = '
+';
+
+$result_errors{'multitable_bracketed_no_inter_space_prototype'} = [];
+
+
+$result_floats{'multitable_bracketed_no_inter_space_prototype'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed.pl
new file mode 100644
index 0000000000..5e1b05c243
--- /dev/null
+++ b/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed.pl
@@ -0,0 +1,128 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'extra' => {
+ 'spaces_before_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_empty_not_closed'};
+
+$result_texis{'multitable_bracketed_prototype_empty_not_closed'} = '
+@multitable {
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_empty_not_closed'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_empty_not_closed'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_empty_not_closed'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed_comment.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed_comment.pl
new file mode 100644
index 0000000000..944a21f092
--- /dev/null
+++
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_not_closed_comment.pl
@@ -0,0 +1,149 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => ' comment
+',
+ 'type' => 'misc_arg'
+ }
+ ],
+ 'cmdname' => 'comment',
+ 'extra' => {
+ 'misc_args' => [
+ ' comment
+'
+ ]
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_empty_not_closed_comment'};
+
+$result_texis{'multitable_bracketed_prototype_empty_not_closed_comment'} = '
+@multitable {@comment comment
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_empty_not_closed_comment'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_empty_not_closed_comment'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_empty_not_closed_comment'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed.pl
new file mode 100644
index 0000000000..5458a4b5be
--- /dev/null
+++
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed.pl
@@ -0,0 +1,128 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'extra' => {
+ 'spaces_before_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed'};
+
+$result_texis{'multitable_bracketed_prototype_empty_spaces_not_closed'} = '
+@multitable {
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_empty_spaces_not_closed'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_empty_spaces_not_closed'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_empty_spaces_not_closed'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed_comment.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed_comment.pl
new file mode 100644
index 0000000000..637b0ec0a6
--- /dev/null
+++
b/tp/t/results/multitable/multitable_bracketed_prototype_empty_spaces_not_closed_comment.pl
@@ -0,0 +1,152 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}
= {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => ' comment
+',
+ 'type' => 'misc_arg'
+ }
+ ],
+ 'cmdname' => 'comment',
+ 'extra' => {
+ 'misc_args' => [
+ ' comment
+'
+ ]
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'};
+
+$result_texis{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}
= '
+@multitable { @comment comment
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}
= '
+';
+
+$result_errors{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}
= [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_empty_spaces_not_closed_comment'}
= {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_not_closed.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed.pl
new file mode 100644
index 0000000000..446ffe0124
--- /dev/null
+++ b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed.pl
@@ -0,0 +1,138 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_not_closed'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a
+'
+ }
+ ],
+ 'extra' => {
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_not_closed'};
+
+$result_texis{'multitable_bracketed_prototype_not_closed'} = '
+@multitable { a
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_not_closed'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_not_closed'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_not_closed'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_comment.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_comment.pl
new file mode 100644
index 0000000000..2e7b4dedce
--- /dev/null
+++
b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_comment.pl
@@ -0,0 +1,156 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => ' comment
+',
+ 'type' => 'misc_arg'
+ }
+ ],
+ 'cmdname' => 'c',
+ 'extra' => {
+ 'misc_args' => [
+ ' comment
+'
+ ]
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {},
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[1]
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_comment'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_not_closed_comment'};
+
+$result_texis{'multitable_bracketed_prototype_not_closed_comment'} = '
+@multitable {a@c comment
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_not_closed_comment'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_not_closed_comment'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_not_closed_comment'} = {};
+
+
+1;
diff --git
a/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_space_comment.pl
b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_space_comment.pl
new file mode 100644
index 0000000000..06c4a6762e
--- /dev/null
+++
b/tp/t/results/multitable/multitable_bracketed_prototype_not_closed_space_comment.pl
@@ -0,0 +1,156 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a '
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => ' comment
+',
+ 'type' => 'misc_arg'
+ }
+ ],
+ 'cmdname' => 'c',
+ 'extra' => {
+ 'misc_args' => [
+ ' comment
+'
+ ]
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 1,
+ 'prototypes' => [
+ {
+ 'contents' => [
+ {},
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[0]
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[0]{'contents'}[1]
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0];
+$result_trees{'multitable_bracketed_prototype_not_closed_space_comment'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_bracketed_prototype_not_closed_space_comment'};
+
+$result_texis{'multitable_bracketed_prototype_not_closed_space_comment'} = '
+@multitable {a @c comment
+}@end multitable
+';
+
+
+$result_texts{'multitable_bracketed_prototype_not_closed_space_comment'} = '
+';
+
+$result_errors{'multitable_bracketed_prototype_not_closed_space_comment'} = [
+ {
+ 'error_line' => 'misplaced {
+',
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => '',
+ 'text' => 'misplaced {',
+ 'type' => 'error'
+ }
+];
+
+
+$result_floats{'multitable_bracketed_prototype_not_closed_space_comment'} = {};
+
+
+1;
diff --git a/tp/t/results/multitable/multitable_empty_bracketed_prototype.pl
b/tp/t/results/multitable/multitable_empty_bracketed_prototype.pl
new file mode 100644
index 0000000000..be5a974933
--- /dev/null
+++ b/tp/t/results/multitable/multitable_empty_bracketed_prototype.pl
@@ -0,0 +1,142 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors
+ %result_indices %result_sectioning %result_nodes %result_menus
+ %result_floats %result_converted %result_converted_errors
+ %result_elements %result_directions_text %result_indices_sort_strings);
+
+use utf8;
+
+$result_trees{'multitable_empty_bracketed_prototype'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' '
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'multitable',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'multitable'
+ }
+ ],
+ 'extra' => {
+ 'spaces_after_argument' => '
+'
+ },
+ 'parent' => {},
+ 'type' => 'line_arg'
+ }
+ ],
+ 'cmdname' => 'end',
+ 'extra' => {
+ 'command_argument' => 'multitable',
+ 'spaces_before_argument' => ' ',
+ 'text_arg' => 'multitable'
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'extra' => {
+ 'end_command' => {},
+ 'max_columns' => 2,
+ 'prototypes' => [
+ {
+ 'type' => 'bracketed_multitable_prototype'
+ },
+ {
+ 'contents' => [
+ {}
+ ],
+ 'type' => 'bracketed_multitable_prototype'
+ }
+ ],
+ 'spaces_before_argument' => ' '
+ },
+ 'parent' => {},
+ 'source_info' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ }
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'before_node_section'
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'extra'}{'end_command'}
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'contents'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'extra'}{'prototypes'}[1]{'contents'}[0]
=
$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'args'}[0]{'contents'}[2]{'contents'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0];
+$result_trees{'multitable_empty_bracketed_prototype'}{'contents'}[0]{'parent'}
= $result_trees{'multitable_empty_bracketed_prototype'};
+
+$result_texis{'multitable_empty_bracketed_prototype'} = '
+@multitable {} {a}
+@end multitable
+';
+
+
+$result_texts{'multitable_empty_bracketed_prototype'} = '
+';
+
+$result_errors{'multitable_empty_bracketed_prototype'} = [];
+
+
+$result_floats{'multitable_empty_bracketed_prototype'} = {};
+
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Tests of multitable prototype not closed. Change in comments/TODO.,
Patrice Dumas <=