[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Structuring.pm Texinfo/Conve...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Structuring.pm Texinfo/Conve... |
Date: |
Sun, 20 Feb 2011 23:36:02 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 11/02/20 23:36:01
Modified files:
tp/Texinfo : Structuring.pm
tp/Texinfo/Convert: Info.pm
tp/t : 09indices.t test_utils.pl
Added files:
tp/t/results/indices: syncode_index_print_both.pl
Log message:
Merge merged indices before sorting and outputting them.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.32&r2=1.33
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/09indices.t?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/test_utils.pl?cvsroot=texinfo&r1=1.71&r2=1.72
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/indices/syncode_index_print_both.pl?cvsroot=texinfo&rev=1.1
Patches:
Index: Texinfo/Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Texinfo/Structuring.pm 20 Feb 2011 12:18:33 -0000 1.33
+++ Texinfo/Structuring.pm 20 Feb 2011 23:36:01 -0000 1.34
@@ -45,6 +45,7 @@
nodes_tree
associate_internal_references
number_floats
+ merge_indices
sort_indices
) ] );
@@ -651,4 +652,26 @@
return $sorted_index_entries;
}
+sub merge_indices($$$)
+{
+ my $index_names = shift;
+ my $merged_indices = shift;
+ my $index_entries = shift;
+
+ my $merged_index_entries;
+ foreach my $index_name (keys(%$index_names)) {
+ #print STDERR "MERGE_INDICES: $index_name\n";
+ next if ($merged_indices->{$index_name});
+ foreach my $index_prefix (keys (%{$index_names->{$index_name}})) {
+ #print STDERR "MERGE_INDICES: $index_name, prefix $index_prefix\n";
+ if ($index_entries->{$index_prefix}) {
+ #print STDERR "MERGE_INDICES: final $index_name <- $index_prefix\n";
+ push @{$merged_index_entries->{$index_name}},
+ @{$index_entries->{$index_prefix}};
+ }
+ }
+ }
+ return $merged_index_entries;
+}
+
1;
Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- Texinfo/Convert/Info.pm 20 Feb 2011 18:42:48 -0000 1.32
+++ Texinfo/Convert/Info.pm 20 Feb 2011 23:36:01 -0000 1.33
@@ -315,11 +315,14 @@
#Â this is not redone for each index, only once
if (!defined($self->{'index_entries'}) and $self->{'parser'}) {
+
my ($index_names, $merged_indices, $index_entries)
= $self->{'parser'}->indices_information();
- $self->{'index_entries'} =
$self->Texinfo::Structuring::sort_indices($index_entries);
+ $self->{'index_entries'}
+ = $self->Texinfo::Structuring::sort_indices(
+ Texinfo::Structuring::merge_indices($index_names, $merged_indices,
+ $index_entries));
$self->{'index_names'} = $index_names;
- $self->{'merged_indices'} = $merged_indices;
}
if (!$self->{'index_entries'} or !$self->{'index_entries'}->{$index_name}
or ! @{$self->{'index_entries'}->{$index_name}}) {
@@ -363,13 +366,11 @@
#Â this is used to count entries that are the same
my %entry_counts = ();
- #Â FIXME second maybe should be index_prefix of each entry?
- my $in_code = $self->{'index_names'}->{$index_name}->{$index_name};
-
foreach my $entry (@{$self->{'index_entries'}->{$index_name}}) {
#my @keys = keys(%$entry);
#print STDERR "$index_name $entry: @keys\n";
next if ($ignored_entries{$entry});
+ my $in_code =
$self->{'index_names'}->{$index_name}->{$entry->{'index_name'}};
my $entry_tree = {'contents' => $entry->{'content'}};
if ($in_code) {
$entry_tree->{'type'} = 'code';
Index: t/09indices.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/09indices.t,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/09indices.t 20 Feb 2011 12:18:34 -0000 1.9
+++ t/09indices.t 20 Feb 2011 23:36:01 -0000 1.10
@@ -75,6 +75,24 @@
@printindex cp
'],
+['syncode_index_print_both',
+'@syncodeindex fn cp
+
address@hidden Top
+
address@hidden c---oncept
address@hidden f---un
+
+
+Print fn
+
address@hidden fn
+
+Print vr
+
address@hidden cp
+
+'],
['index_entry_before_node',
'@node Top
Index: t/test_utils.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/test_utils.pl,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -b -r1.71 -r1.72
--- t/test_utils.pl 20 Feb 2011 12:18:34 -0000 1.71
+++ t/test_utils.pl 20 Feb 2011 23:36:01 -0000 1.72
@@ -286,7 +286,12 @@
my $top_node = Texinfo::Structuring::nodes_tree($parser);
my ($errors, $error_nrs) = $parser->errors();
- my ($index_names, $merged_indices) = $parser->indices_information();
+ my ($index_names, $merged_indices, $index_entries)
+ = $parser->indices_information();
+ #Â FIXME merged_index_entries are not used further, maybe it would be good to
+ #Â compare them. Maybe even call sort_indices before.
+ my $merged_index_entries
+ = Texinfo::Structuring::merge_indices($index_names, $merged_indices,
$index_entries);
my $indices;
$indices->{'index_names'} = $index_names
unless (Data::Compare::Compare($index_names, $initial_index_names));
Index: t/results/indices/syncode_index_print_both.pl
===================================================================
RCS file: t/results/indices/syncode_index_print_both.pl
diff -N t/results/indices/syncode_index_print_both.pl
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ t/results/indices/syncode_index_print_both.pl 20 Feb 2011 23:36:01
-0000 1.1
@@ -0,0 +1,492 @@
+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{'syncode_index_print_both'} = {
+ 'contents' => [
+ {
+ 'contents' => [
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'fn cp'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'syncodeindex',
+ 'extra' => {
+ 'misc_args' => [
+ 'fn',
+ 'cp'
+ ]
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 1,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ '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'
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'c---oncept'
+ },
+ {
+ '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' => 'c---oncept',
+ 'node' => {},
+ 'number' => 1
+ },
+ 'misc_content' => []
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 5,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'args' => [
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => ' ',
+ 'type' => 'empty_spaces_after_command'
+ },
+ {
+ 'parent' => {},
+ 'text' => 'f---un'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'spaces_at_end'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'misc_line_arg'
+ }
+ ],
+ 'cmdname' => 'findex',
+ 'extra' => {
+ 'index_entry' => {
+ 'command' => {},
+ 'content' => [
+ {}
+ ],
+ 'index_at_command' => 'findex',
+ 'index_name' => 'fn',
+ 'index_prefix' => 'f',
+ 'key' => 'f---un',
+ 'node' => {},
+ 'number' => 1
+ },
+ 'misc_content' => []
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 6,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Print fn
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ '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' => 11,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ },
+ {
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => 'Print vr
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
+ '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' => 15,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ },
+ {
+ 'parent' => {},
+ 'text' => '
+',
+ 'type' => 'empty_line'
+ }
+ ],
+ 'extra' => {
+ 'node_content' => [
+ {}
+ ],
+ 'nodes_manuals' => [
+ {
+ 'node_content' => [],
+ 'normalized' => 'Top'
+ }
+ ],
+ 'normalized' => 'Top'
+ },
+ 'line_nr' => {
+ 'file_name' => '',
+ 'line_nr' => 3,
+ 'macro' => ''
+ },
+ 'parent' => {}
+ }
+ ],
+ 'type' => 'document_root'
+};
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'contents'}[1]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[0]{'parent'} =
$result_trees{'syncode_index_print_both'};
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'command'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'node'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'extra'}{'misc_content'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'extra'}{'index_entry'}{'content'};
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'extra'}{'index_entry'}{'command'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'extra'}{'index_entry'}{'content'}[0]
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'args'}[0]{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'extra'}{'index_entry'}{'node'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'extra'}{'misc_content'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'extra'}{'index_entry'}{'content'};
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[2]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[3]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[4]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[5];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[5]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[6]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[7]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[8]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[9];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[9]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[10]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'contents'}[2]{'parent'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'args'}[0]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[11]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'contents'}[12]{'parent'}
= $result_trees{'syncode_index_print_both'}{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'extra'}{'node_content'}[0]
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
=
$result_trees{'syncode_index_print_both'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'syncode_index_print_both'}{'contents'}[1]{'parent'} =
$result_trees{'syncode_index_print_both'};
+
+$result_texis{'syncode_index_print_both'} = '@syncodeindex fn cp
+
address@hidden Top
+
address@hidden c---oncept
address@hidden f---un
+
+
+Print fn
+
address@hidden fn
+
+Print vr
+
address@hidden cp
+
+';
+
+
+$result_texts{'syncode_index_print_both'} = '
+
+
+
+Print fn
+
+
+Print vr
+
+
+';
+
+$result_sectioning{'syncode_index_print_both'} = {};
+
+$result_nodes{'syncode_index_print_both'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ },
+ 'node_up' => {
+ 'extra' => {
+ 'manual_content' => [
+ {
+ 'text' => 'dir'
+ }
+ ]
+ }
+ }
+};
+
+$result_menus{'syncode_index_print_both'} = {
+ 'cmdname' => 'node',
+ 'extra' => {
+ 'normalized' => 'Top'
+ }
+};
+
+$result_errors{'syncode_index_print_both'} = [
+ {
+ 'error_line' => ':11: warning: Printing an index `fn\' merged in another
one `cp\'
+',
+ 'file_name' => '',
+ 'line_nr' => 11,
+ 'macro' => '',
+ 'text' => 'Printing an index `fn\' merged in another one `cp\'',
+ 'type' => 'warning'
+ }
+];
+
+
+$result_indices{'syncode_index_print_both'} = {
+ 'merged_indices' => {
+ 'fn' => 'cp'
+ }
+};
+
+
+
+$result_converted{'info'}->{'syncode_index_print_both'} = 'This is , produced
by makeinfo version 4.13 from .
+
+
+File: , Node: Top, Up: (dir)
+
+Print fn
+
+ Print vr
+
+ [index ]
+* Menu:
+
+* c--oncept: Top. (line 3)
+* f---un: Top. (line 3)
+
+
+
+Tag Table:
+Node: Top52
+
+End Tag Table
+';
+
+1;