[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp TODO Texinfo/Convert/Info.pm Texinfo...
From: |
Patrice Dumas |
Subject: |
texinfo/tp TODO Texinfo/Convert/Info.pm Texinfo... |
Date: |
Sun, 27 Feb 2011 15:07:41 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/27 15:07:41
Modified files:
tp : TODO
tp/Texinfo/Convert: Info.pm Plaintext.pm
tp/t : info_tests.t
tp/t/results/test_count: flushright.pl multitable.pl
Added files:
tp/t/results/info_tests: before_node_and_section.pl
Log message:
More warnings for things out of nodes, when in Info.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/TODO?cvsroot=texinfo&r1=1.97&r2=1.98
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.97&r2=1.98
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/info_tests.t?cvsroot=texinfo&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/before_node_and_section.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/test_count/flushright.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/test_count/multitable.pl?cvsroot=texinfo&r1=1.6&r2=1.7
Patches:
Index: TODO
===================================================================
RCS file: /sources/texinfo/texinfo/tp/TODO,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- TODO 26 Feb 2011 18:25:59 -0000 1.97
+++ TODO 27 Feb 2011 15:07:40 -0000 1.98
@@ -48,6 +48,14 @@
@end menu
lead to Node: Top, Next: (out), Up: (dir)
+Flag the last end of line of text in a raw format, to let the converter
+remove it in case a running text is needed. For example, in
+ @html
+ html
+ something
+ @end html
+flag the end of line at the end of the 'something' line.
+
An unknwown command in a context where not all commands are accepted leads
to an error message. There is a FIXME in the code. The test case is
macro/unknown_macro_on_line_command
Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- Texinfo/Convert/Info.pm 26 Feb 2011 18:25:59 -0000 1.38
+++ Texinfo/Convert/Info.pm 27 Feb 2011 15:07:40 -0000 1.39
@@ -486,6 +486,16 @@
return $result;
}
+sub _error_outside_of_any_node($$)
+{
+ my $self = shift;
+ my $root = shift;
+ if (!$self->{'node'}) {
+ $self->line_warn(sprintf($self->__("address@hidden outside of any node"),
+ $root->{'cmdname'}), $root->{'line_nr'});
+ }
+}
+
sub _normalize_top_node($)
{
my $node = shift;
Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- Texinfo/Convert/Plaintext.pm 27 Feb 2011 12:06:55 -0000 1.97
+++ Texinfo/Convert/Plaintext.pm 27 Feb 2011 15:07:40 -0000 1.98
@@ -988,13 +988,22 @@
return '';
}
+#Â no error in plaintext
+sub _error_outside_of_any_node($$)
+{
+ my $self = shift;
+ my $root = shift;
+}
+
sub _anchor($$)
{
my $self = shift;
my $anchor = shift;
- $self->_add_location($anchor) unless ($self->{'multiple_pass'}
- or $self->{'in_copying_header'});
+ if (!($self->{'multiple_pass'} or $self->{'in_copying_header'})) {
+ $self->_add_location($anchor);
+ $self->_error_outside_of_any_node($anchor);
+ }
return '';
}
@@ -1024,7 +1033,6 @@
my $txt_file = $self->Texinfo::Parser::_locate_include_file
($basefile.'.txt');
if (!defined($txt_file)) {
- #$self->line_warn(sprintf($self->__("Cannot find address@hidden file
`%s.txt'"), $basefile), $root->{'line_nr'});
return undef;
} else {
if (open (TXT, $txt_file)) {
@@ -1424,6 +1432,9 @@
push @{$self->{'pending_footnotes'}}, {'root' => $root,
'number' => $self->{'footnote_index'}}
unless ($self->{'multiple_pass'});
+ if (!$self->{'in_copying_header'}) {
+ $self->_error_outside_of_any_node($root);
+ }
$result .= $self->_count_added($formatter->{'container'},
$formatter->{'container'}->add_text("($formatted_footnote_number)"));
if ($self->{'footnotestyle'} eq 'separate' and $self->{'node'}) {
Index: t/info_tests.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/info_tests.t,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/info_tests.t 26 Feb 2011 18:25:59 -0000 1.21
+++ t/info_tests.t 27 Feb 2011 15:07:41 -0000 1.22
@@ -102,6 +102,32 @@
No address@hidden
'],
+['before_node_and_section',
+'Garbage
+ref to Top @ref{Top}.
address@hidden index entry before anything
address@hidden footnote}.
+An anchor @anchor{anchor1}.
+
address@hidden
+* node1::
address@hidden menu
+
address@hidden Top
address@hidden top @@top section
+Node top
+
+ref to address@hidden footnote}, which is before @@node Top: @ref{anchor1}.
address@hidden
+* node1::
address@hidden menu
+
address@hidden node1
address@hidden node1 chapter
+
address@hidden cp
+
+'],
['image_quotes',
'@node Top
Index: t/results/test_count/flushright.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/test_count/flushright.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/test_count/flushright.pl 15 Feb 2011 21:40:48 -0000 1.6
+++ t/results/test_count/flushright.pl 27 Feb 2011 15:07:41 -0000 1.7
@@ -413,4 +413,44 @@
';
+$result_converted_errors{'debugcount'}->{'flushright'} = [
+ {
+ 'file_name' => '',
+ 'error_line' => ':3: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 3
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':4: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 4
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':4: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 4
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':9: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 9
+ }
+];
+
+
1;
Index: t/results/test_count/multitable.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/test_count/multitable.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/test_count/multitable.pl 15 Feb 2011 21:40:48 -0000 1.6
+++ t/results/test_count/multitable.pl 27 Feb 2011 15:07:41 -0000 1.7
@@ -440,4 +440,26 @@
';
+$result_converted_errors{'debugcount'}->{'multitable'} = [
+ {
+ 'file_name' => '',
+ 'error_line' => ':3: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 3
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':5: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 5
+ }
+];
+
+
1;
Index: t/results/info_tests/before_node_and_section.pl
===================================================================
RCS file: t/results/info_tests/before_node_and_section.pl
diff -N t/results/info_tests/before_node_and_section.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/info_tests/before_node_and_section.pl 27 Feb 2011 15:07:41
-0000 1.1
@@ -0,0 +1,1069 @@
+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{'before_node_and_section'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Garbage
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'ref to Top '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Top'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {
+ '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' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'Top'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 2,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'index entry before anything'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'cindex',
+ 'extra' => {
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'cindex',
+ 'index_name' => 'cp',
+ 'index_prefix' => 'c',
+ 'key' => 'index entry before anything',
+ 'number' => 1
+ },
+ 'misc_content' => []
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => 'Hey'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'a footnote'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 4,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'An anchor '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'anchor1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'anchor',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'anchor1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node1'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 8,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'text_root'
+ },
+ {},
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top '
+ },
+ {
+ 'cmdname' => '@',
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => 'top section'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'top',
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Node top
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'ref to anchor1'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'another footnote'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_context'
+ }
+ ],
+ 'cmdname' => 'footnote',
+ 'contents' => [],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => ', which is before '
+ },
+ {
+ 'cmdname' => '@',
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node Top: '
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'anchor1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'brace_command_arg'
+ }
+ ],
+ 'cmdname' => 'ref',
+ 'contents' => [],
+ 'extra' => {
+ 'brace_command_contents' => [
+ [
+ {}
+ ]
+ ],
+ 'label' => {},
+ 'node_argument' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'anchor1'
+ }
+ },
+ 'line_nr' => {},
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '.
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ 'cmdname' => 'menu',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'args' => [
+ {
+ 'parent' => {},
+ 'text' => '* ',
+ 'type' => 'menu_entry_leading_text'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'node1'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_node'
+ },
+ {
+ 'parent' => {},
+ 'text' => '::',
+ 'type' => 'menu_entry_separator'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'menu_entry_description'
+ }
+ ],
+ 'extra' => {
+ 'menu_entry_node' => {
+ 'node_content' => [
+ {}
+ ],
+ 'normalized' => 'node1'
+ }
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 17,
+ 'macro' => ''
+ },
+ 'parent' => {},
+ 'type' => 'menu_entry'
+ }
+ ],
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 16,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {},
+ {},
+ {}
+ ]
+ },
+ 'level' => 0,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 12,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node1'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'node',
+ 'contents' => [],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'node1'
+ }
+ ],
+ 'normalized' => 'node1'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 20,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'node1 chapter'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'chapter',
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'cp'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'printindex',
+ 'extra' => {
+ 'misc_args' => [
+ 'cp'
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 23,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'misc_content' => [
+ {}
+ ]
+ },
+ 'level' => 1,
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 21,
+ 'macro' => ''
+ },
+ 'number' => 1,
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'};
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'extra'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'args'}[0]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'extra'}{'node_content'};
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'}{'parent'}
= $result_trees{'before_node_and_section'};
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'command'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'extra'}{'misc_content'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'extra'}{'index_entry'}{'content'};
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[5]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[6]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[7]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[8]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'extra'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[10]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[3]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[4]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[0]{'parent'} =
$result_trees{'before_node_and_section'};
+$result_trees{'before_node_and_section'}{'contents'}[1] =
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[2]{'extra'}{'label'};
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[3]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[4]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'parent'} =
$result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[3]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[4]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'extra'}{'label'}
=
$result_trees{'before_node_and_section'}{'contents'}[0]{'contents'}[0]{'contents'}[9];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'extra'}{'node_argument'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'args'}[0]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'line_nr'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[1]{'line_nr'};
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[5]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'contents'}[6]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[1]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[1]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[2]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[3]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[3]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'extra'}{'menu_entry_node'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'args'}[1]{'contents'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[3]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[4]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'contents'}[5]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'extra'}{'misc_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'extra'}{'misc_content'}[1]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[2];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'extra'}{'misc_content'}[2]
=
$result_trees{'before_node_and_section'}{'contents'}[2]{'args'}[0]{'contents'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[2]{'parent'} =
$result_trees{'before_node_and_section'};
+$result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0]{'parent'} =
$result_trees{'before_node_and_section'}{'contents'}[3];
+$result_trees{'before_node_and_section'}{'contents'}[3]{'extra'}{'node_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[3]{'args'}[0]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[3]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'before_node_and_section'}{'contents'}[3]{'extra'}{'node_content'};
+$result_trees{'before_node_and_section'}{'contents'}[3]{'parent'} =
$result_trees{'before_node_and_section'};
+$result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0]{'parent'} =
$result_trees{'before_node_and_section'}{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[1]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'contents'}[2]{'parent'}
= $result_trees{'before_node_and_section'}{'contents'}[4];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'extra'}{'misc_content'}[0]
=
$result_trees{'before_node_and_section'}{'contents'}[4]{'args'}[0]{'contents'}[1];
+$result_trees{'before_node_and_section'}{'contents'}[4]{'parent'} =
$result_trees{'before_node_and_section'};
+
+$result_texis{'before_node_and_section'} = 'Garbage
+ref to Top @ref{Top}.
address@hidden index entry before anything
address@hidden footnote}.
+An anchor @anchor{anchor1}.
+
address@hidden
+* node1::
address@hidden menu
+
address@hidden Top
address@hidden top @@top section
+Node top
+
+ref to address@hidden footnote}, which is before @@node Top: @ref{anchor1}.
address@hidden
+* node1::
address@hidden menu
+
address@hidden node1
address@hidden node1 chapter
+
address@hidden cp
+
+';
+
+
+$result_texts{'before_node_and_section'} = 'Garbage
+ref to Top .
+Hey.
+An anchor .
+
+* node1::
+
+top @top section
+****************
+Node top
+
+ref to anchor1, which is before @node Top: .
+* node1::
+
+1 node1 chapter
+***************
+
+
+';
+
+$result_sectioning{'before_node_and_section'} = {
+ 'level' => -1,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'top',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+ }
+ },
+ 'level' => 0,
+ 'section_childs' => [
+ {
+ 'cmdname' => 'chapter',
+ 'extra' => {
+ 'associated_node' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node1'
+ }
+ }
+ },
+ 'level' => 1,
+ 'number' => 1,
+ 'section_up' => {}
+ }
+ ],
+ 'section_up' => {}
+ }
+ ]
+};
+$result_sectioning{'before_node_and_section'}{'section_childs'}[0]{'section_childs'}[0]{'section_up'}
= $result_sectioning{'before_node_and_section'}{'section_childs'}[0];
+$result_sectioning{'before_node_and_section'}{'section_childs'}[0]{'section_up'}
= $result_sectioning{'before_node_and_section'};
+
+$result_nodes{'before_node_and_section'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'top',
+ 'extra' => {},
+ 'level' => 0
+ },
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'associated_section' => {
+ 'cmdname' => 'chapter',
+ 'extra' => {},
+ 'level' => 1,
+ 'number' => 1
+ },
+ 'normalized' => 'node1'
+ },
+ 'node_prev' => {},
+ 'node_up' => {}
+ },
+ 'menus' => [
+ {
+ 'cmdname' => 'menu'
+ }
+ ],
+ 'node_next' => {},
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+$result_nodes{'before_node_and_section'}{'menu_child'}{'node_prev'} =
$result_nodes{'before_node_and_section'};
+$result_nodes{'before_node_and_section'}{'menu_child'}{'node_up'} =
$result_nodes{'before_node_and_section'};
+$result_nodes{'before_node_and_section'}{'node_next'} =
$result_nodes{'before_node_and_section'}{'menu_child'};
+
+$result_menus{'before_node_and_section'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'menu_child' => {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'node1'
+ },
+ 'menu_up' => {},
+ 'menu_up_hash' => {
+ 'Top' => 1
+ }
+ }
+};
+$result_menus{'before_node_and_section'}{'menu_child'}{'menu_up'} =
$result_menus{'before_node_and_section'};
+
+$result_errors{'before_node_and_section'} = [
+ {
+ 'error_line' => ':3: Entry for index `cp\' outside of any node
+',
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => '',
+ 'text' => 'Entry for index `cp\' outside of any node',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':7: @menu seen before first @node
+',
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => '',
+ 'text' => '@menu seen before first @node',
+ 'type' => 'error'
+ },
+ {
+ 'error_line' => ':7: perhaps your @top node should be wrapped in @ifnottex
rather than @ifinfo?
+',
+ 'file_name' => '',
+ 'line_nr' => 7,
+ 'macro' => '',
+ 'text' => 'perhaps your @top node should be wrapped in @ifnottex rather
than @ifinfo?',
+ 'type' => 'error continuation'
+ }
+];
+
+
+
+$result_converted{'info'}->{'before_node_and_section'} = 'This is , produced
by makeinfo version 4.13 from .
+
+Garbage ref to Top *note Top::. Hey(1). An anchor .
+
+* Menu:
+
+* node1::
+
+
+File: , Node: Top, Next: node1, Up: (dir)
+
+top @top section
+****************
+
+Node top
+
+ ref to anchor1(2), which is before @node Top: *note anchor1::.
+* Menu:
+
+* node1::
+
+ ---------- Footnotes ----------
+
+ (1) a footnote
+
+ (2) another footnote
+
+
+File: , Node: node1, Prev: Top, Up: Top
+
+1 node1 chapter
+***************
+
+ [index ]
+* Menu:
+
+* index entry before anything: (outside of any node). (line 0)
+
+
+
+Tag Table:
+Ref: anchor1103
+Node: Top127
+Ref: Top-Footnote-1342
+Ref: Top-Footnote-2361
+Node: node1386
+
+End Tag Table
+';
+
+$result_converted_errors{'info'}->{'before_node_and_section'} = [
+ {
+ 'file_name' => '',
+ 'error_line' => ':4: warning: @footnote outside of any node
+',
+ 'text' => '@footnote outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 4
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':5: warning: @anchor outside of any node
+',
+ 'text' => '@anchor outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 5
+ },
+ {
+ 'file_name' => '',
+ 'error_line' => ':3: warning: Entry for index `cp\' outside of any node
+',
+ 'text' => 'Entry for index `cp\' outside of any node',
+ 'type' => 'warning',
+ 'macro' => '',
+ 'line_nr' => 3
+ }
+];
+
+
+1;