[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Convert/Plaintext.pm t/02cov...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Convert/Plaintext.pm t/02cov... |
Date: |
Tue, 15 Feb 2011 23:11:52 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/15 23:11:52
Modified files:
tp/Texinfo/Convert: Plaintext.pm
tp/t : 02coverage.t 19def.t 57invalid_nestings.t
Added files:
tp/t/results/coverage: flushright_example_nested.pl
tp/t/results/def: space_in_def_for_index.pl
tp/t/results/invalid_nestings: section_in_table.pl
Log message:
Flush right when in flushright, even if in preformatted.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.81&r2=1.82
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/02coverage.t?cvsroot=texinfo&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/19def.t?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/57invalid_nestings.t?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/coverage/flushright_example_nested.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/def/space_in_def_for_index.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/section_in_table.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -b -r1.81 -r1.82
--- Texinfo/Convert/Plaintext.pm 14 Feb 2011 23:50:03 -0000 1.81
+++ Texinfo/Convert/Plaintext.pm 15 Feb 2011 23:11:51 -0000 1.82
@@ -594,9 +594,15 @@
'code' => 0, 'w' => 0,
'frenchspacing_stack' => [$self->{'frenchspacing'}]};
- if ($preformatted_context_commands{$self->{'context'}->[-1]}
- and ! $menu_commands{$self->{'context'}->[-1]}) {
+ if ($type eq 'unfilled') {
+ foreach my $context (reverse(@{$self->{'context'}})) {
+ if ($menu_commands{$context}) {
+ last;
+ } elsif ($preformatted_context_commands{$context}) {
$formatter->{'preformatted'} = 1;
+ last;
+ }
+ }
}
print STDERR "NEW FORMATTER($type)\n" if ($self->{'DEBUG'});
return $formatter;
@@ -1967,6 +1973,10 @@
} elsif ($root->{'type'} eq 'preformatted') {
$preformatted = $self->new_formatter('unfilled');
push @{$self->{'formatters'}}, $preformatted;
+ if ($self->{'context'}->[-1] eq 'flushright') {
+ push @{$self->{'count_context'}}, {'lines' => 0, 'bytes' => 0,
+ 'locations' => []};
+ }
} elsif ($root->{'type'} eq 'def_line') {
if ($root->{'extra'} and $root->{'extra'}->{'def_args'}
and @{$root->{'extra'}->{'def_args'}}) {
@@ -2200,6 +2210,10 @@
if ($result ne '') {
$result = $self->ensure_end_of_line($result);
}
+ if ($self->{'context'}->[-1] eq 'flushright') {
+ $result = $self->_align_environment ($result,
+ $self->{'text_element_context'}->[$self->flushright_index]->{'max'},
'right');
+ }
pop @{$self->{'formatters'}};
#Â We assume that, upon closing the preformatted we are at the
#Â beginning of a line.
Index: t/02coverage.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/02coverage.t,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- t/02coverage.t 15 Feb 2011 21:40:31 -0000 1.38
+++ t/02coverage.t 15 Feb 2011 23:11:51 -0000 1.39
@@ -299,6 +299,19 @@
@end flushright
@end quotation
'],
+['flushright_example_nested',
+'@example
address@hidden
+in --- flushright
address@hidden flushright
address@hidden example
+
address@hidden
address@hidden
+in --- example
address@hidden example
address@hidden flushright
+'],
['center',
'
@center in center @code{in code}
Index: t/19def.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/19def.t,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/19def.t 7 Feb 2011 00:18:31 -0000 1.11
+++ t/19def.t 15 Feb 2011 23:11:51 -0000 1.12
@@ -280,6 +280,18 @@
'],
);
+my @test_info = (
+['space_in_def_for_index',
+'@node Top
+
address@hidden { Category } { name } { argument } argument2...
address@hidden {AAA1} {AAA2} arg3
address@hidden deffn
+
address@hidden fn
+'],
+);
+
my @test_invalid = (
['def_defx_mismatch',
'@defun {my def} args @var{arg} @dots{}
@@ -437,8 +449,12 @@
}
}
+foreach my $test (@test_info) {
+ $test->[2]->{'test_formats'} = ['info'];
+}
+
our ($arg_test_case, $arg_generate, $arg_debug);
-run_all ('def', address@hidden, @test_invalid, @test_printindex],
$arg_test_case,
+run_all ('def', address@hidden, @test_info, @test_invalid, @test_printindex],
$arg_test_case,
$arg_generate, $arg_debug);
Index: t/57invalid_nestings.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/57invalid_nestings.t,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/57invalid_nestings.t 3 Feb 2011 23:38:02 -0000 1.11
+++ t/57invalid_nestings.t 15 Feb 2011 23:11:51 -0000 1.12
@@ -192,6 +192,16 @@
@end example
'],
+['section_in_table',
+'@table @asis
address@hidden Before
+
address@hidden Subsection
+
address@hidden After
+
address@hidden table
+'],
['itemx_in_itemize_enumerate_in_table',
'@table @strong
@item item
Index: t/results/coverage/flushright_example_nested.pl
===================================================================
RCS file: t/results/coverage/flushright_example_nested.pl
diff -N t/results/coverage/flushright_example_nested.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/coverage/flushright_example_nested.pl 15 Feb 2011 23:11:52
-0000 1.1
@@ -0,0 +1,176 @@
+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_trees{'flushright_example_nested'} = {
+ 'contents' => [
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'cmdname' => 'flushright',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'in --- flushright
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'flushright',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'cmdname' => 'example',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'in --- example
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'preformatted'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'type' => 'text_root'
+};
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[0];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[0];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[0];
+$result_trees{'flushright_example_nested'}{'contents'}[0]{'parent'} =
$result_trees{'flushright_example_nested'};
+$result_trees{'flushright_example_nested'}{'contents'}[1]{'parent'} =
$result_trees{'flushright_example_nested'};
+$result_trees{'flushright_example_nested'}{'contents'}[2]{'parent'} =
$result_trees{'flushright_example_nested'};
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[3];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[1]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[3];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'contents'}[2]{'parent'}
= $result_trees{'flushright_example_nested'}{'contents'}[3];
+$result_trees{'flushright_example_nested'}{'contents'}[3]{'parent'} =
$result_trees{'flushright_example_nested'};
+$result_trees{'flushright_example_nested'}{'contents'}[4]{'parent'} =
$result_trees{'flushright_example_nested'};
+
+$result_texis{'flushright_example_nested'} = '@example
address@hidden
+in --- flushright
address@hidden flushright
address@hidden example
+
address@hidden
address@hidden
+in --- example
address@hidden example
address@hidden flushright
+';
+
+
+$result_texts{'flushright_example_nested'} = 'in --- flushright
+
+in --- example
+';
+
+$result_errors{'flushright_example_nested'} = [];
+
+
+
+$result_converted{'plaintext'}->{'flushright_example_nested'} = '
in --- flushright
+
+ in --- example
+';
+
+1;
Index: t/results/def/space_in_def_for_index.pl
===================================================================
RCS file: t/results/def/space_in_def_for_index.pl
diff -N t/results/def/space_in_def_for_index.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/def/space_in_def_for_index.pl 15 Feb 2011 23:11:52 -0000
1.1
@@ -0,0 +1,496 @@
+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_trees{'space_in_def_for_index'} = {
+ 'contents' => [
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'deffn',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' Category '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' '
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' name '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' '
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' argument '
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' argument2...
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'extra' => {
+ 'def_args' => [
+ [
+ 'category',
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed_def_content'
+ }
+ ],
+ [
+ 'spaces',
+ {
+ 'text' => ' ',
+ 'type' => 'spaces'
+ }
+ ],
+ [
+ 'name',
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed_def_content'
+ }
+ ],
+ [
+ 'spaces',
+ {
+ 'text' => ' ',
+ 'type' => 'spaces'
+ }
+ ],
+ [
+ 'arg',
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed_def_content'
+ }
+ ],
+ [
+ 'spaces',
+ {
+ 'text' => ' ',
+ 'type' => 'spaces'
+ }
+ ],
+ [
+ 'arg',
+ {
+ 'text' => 'argument2...'
+ }
+ ]
+ ],
+ 'def_command' => 'deffn',
+ 'def_parsed_hash' => {
+ 'category' => {},
+ 'name' => {}
+ },
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'deffn',
+ 'index_name' => 'fn',
+ 'index_prefix' => 'f',
+ 'key' => ' name ',
+ 'node' => {},
+ 'number' => 1
+ },
+ 'original_def_cmdname' => 'deffn'
+ },
+ 'parent' => {},
+ 'type' => 'def_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'AAA1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' '
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'AAA2'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'bracketed'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' arg3
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'deffnx',
+ 'extra' => {
+ 'def_args' => [
+ [
+ 'category',
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed_def_content'
+ }
+ ],
+ [
+ 'spaces',
+ {
+ 'text' => ' ',
+ 'type' => 'spaces'
+ }
+ ],
+ [
+ 'name',
+ {
+ 'contents' => [],
+ 'parent' => {},
+ 'type' => 'bracketed_def_content'
+ }
+ ],
+ [
+ 'spaces',
+ {
+ 'text' => ' ',
+ 'type' => 'spaces'
+ }
+ ],
+ [
+ 'arg',
+ {
+ 'text' => 'arg3'
+ }
+ ]
+ ],
+ 'def_command' => 'deffn',
+ 'def_parsed_hash' => {
+ 'category' => {},
+ 'name' => {}
+ },
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'deffn',
+ 'index_name' => 'fn',
+ 'index_prefix' => 'f',
+ 'key' => 'AAA2',
+ 'node' => {},
+ 'number' => 2
+ },
+ 'original_def_cmdname' => 'deffnx'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'def_line'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'fn'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'printindex',
+ 'extra' => {
+ 'misc_args' => [
+ 'fn'
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'space_in_def_for_index'}{'contents'}[0]{'parent'} =
$result_trees{'space_in_def_for_index'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[3];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[5]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[5];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[5]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[6]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[0][1]{'contents'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[1]{'contents'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[0][1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[2][1]{'contents'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[3]{'contents'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[2][1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[4][1]{'contents'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[5]{'contents'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[4][1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'category'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[0][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'name'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[2][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'index_entry'}{'command'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'def_args'}[2][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'extra'}{'index_entry'}{'node'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[3];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[3]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[4]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[0][1]{'contents'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'contents'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[0][1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[2][1]{'contents'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[3]{'contents'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[2][1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_parsed_hash'}{'category'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[0][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_parsed_hash'}{'name'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[2][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'command'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'def_args'}[2][1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'node'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'args'}[0]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'space_in_def_for_index'}{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'space_in_def_for_index'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'space_in_def_for_index'}{'contents'}[1]{'parent'} =
$result_trees{'space_in_def_for_index'};
+
+$result_texis{'space_in_def_for_index'} = '@node Top
+
address@hidden { Category } { name } { argument } argument2...
address@hidden {AAA1} {AAA2} arg3
address@hidden deffn
+
address@hidden fn
+';
+
+
+$result_texts{'space_in_def_for_index'} = '
+ Category name argument argument2...
+AAA1 AAA2 arg3
+
+';
+
+$result_sectioning{'space_in_def_for_index'} = {};
+
+$result_nodes{'space_in_def_for_index'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+
+$result_menus{'space_in_def_for_index'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+};
+
+$result_errors{'space_in_def_for_index'} = [];
+
+
+
+$result_converted{'info'}->{'space_in_def_for_index'} = 'This is , produced by
makeinfo version 4.13 from .
+
+
+File: , Node: Top, Up: (dir)
+
+ -- Category : name argument argument2...
+ -- AAA1: AAA2 arg3
+
+ [index ]
+* Menu:
+
+* name : Top. (line 3)
+* AAA2: Top. (line 4)
+
+
+
+Tag Table:
+Node: Top52
+
+End Tag Table
+';
+
+1;
Index: t/results/invalid_nestings/section_in_table.pl
===================================================================
RCS file: t/results/invalid_nestings/section_in_table.pl
diff -N t/results/invalid_nestings/section_in_table.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/invalid_nestings/section_in_table.pl 15 Feb 2011 23:11:52
-0000 1.1
@@ -0,0 +1,265 @@
+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_trees{'section_in_table'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'cmdname' => 'asis',
+ 'parent' => {},
+ 'type' => 'command_as_argument'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'space_at_end_block_command'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'block_line_arg'
+ }
+ ],
+ 'cmdname' => 'table',
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Before'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'item',
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'block_command_line_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'command_as_argument' => {}
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Subsection'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'section',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'After
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 2,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'extra'}{'misc_content'}[0]
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'extra'}{'block_command_line_contents'}[0][0]
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'extra'}{'command_as_argument'}
=
$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[0]{'contents'}[0]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[0];
+$result_trees{'section_in_table'}{'contents'}[0]{'parent'} =
$result_trees{'section_in_table'};
+$result_trees{'section_in_table'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[1]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[1]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[1]{'args'}[0];
+$result_trees{'section_in_table'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'section_in_table'}{'contents'}[1]{'contents'}[2];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[2]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[3]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'contents'}[4]{'parent'} =
$result_trees{'section_in_table'}{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'extra'}{'misc_content'}[0] =
$result_trees{'section_in_table'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'section_in_table'}{'contents'}[1]{'parent'} =
$result_trees{'section_in_table'};
+
+$result_texis{'section_in_table'} = '@table @asis
address@hidden Before
+
address@hidden address@hidden Subsection
+
+ After
+
+
+';
+
+
+$result_texts{'section_in_table'} = 'Before
+
+1 Subsection
+============
+
+After
+
+';
+
+$result_sectioning{'section_in_table'} = {
+ 'level' => 1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'section',
+ 'extra' => {},
+ 'level' => 2,
+ 'number' => 1,
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'section_in_table'}{'section_childs'}[0]{'section_up'} =
$result_sectioning{'section_in_table'};
+
+$result_errors{'section_in_table'} = [
+ {
+ 'error_line' => ':4: No matching address@hidden table\'
+',
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => '',
+ 'text' => 'No matching address@hidden table\'',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':6: @item outside of table or list
+',
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => '',
+ 'text' => '@item outside of table or list',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':8: Unmatched address@hidden table\'
+',
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => '',
+ 'text' => 'Unmatched address@hidden table\'',
+ 'type' => 'error'
+ }
+];
+
+
+1;