texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp Texinfo/Parser.pm Texinfo/Convert/In...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Parser.pm Texinfo/Convert/In...
Date: Mon, 21 Feb 2011 22:32:24 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/02/21 22:32:23

Modified files:
        tp/Texinfo     : Parser.pm 
        tp/Texinfo/Convert: Info.pm Plaintext.pm 
        tp/t           : 09indices.t 
        tp/t/results/columnfractions: empty.pl empty_comment.pl 
        tp/t/results/info_tests: def_in_copying.pl 
        tp/t/results/misc_commands: 
                                    command_not_closed_in_documentencoding.pl 
                                    empty_documentencoding.pl 
        tp/t/results/sectioning: complex.pl raiselowersections.pl 
                                 unnumbered_no_argument.pl 
        tp/t/results/xtable: empty_item_itemx.pl 
Added files:
        tp/t/results/indices: empty_cindex_entry.pl 

Log message:
        Don't warn for printindex or index entry out of node if in a special 
region.
        Mark @-commands without arg, and ignore those in Plaintext/Info.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.204&r2=1.205
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.91&r2=1.92
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/09indices.t?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/columnfractions/empty.pl?cvsroot=texinfo&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/columnfractions/empty_comment.pl?cvsroot=texinfo&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/indices/empty_cindex_entry.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/def_in_copying.pl?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/empty_documentencoding.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/complex.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/raiselowersections.pl?cvsroot=texinfo&r1=1.29&r2=1.30
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/unnumbered_no_argument.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/xtable/empty_item_itemx.pl?cvsroot=texinfo&r1=1.3&r2=1.4

Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -b -r1.204 -r1.205
--- Texinfo/Parser.pm   21 Feb 2011 17:32:14 -0000      1.204
+++ Texinfo/Parser.pm   21 Feb 2011 22:32:21 -0000      1.205
@@ -1828,14 +1828,14 @@
                       'command'          => $current,
                       'number'           => $number,
                     };
-  if ($self->{'current_node'}) {
+  if (@{$self->{'regions_stack'}}) {
+    $index_entry->{'region'} = $self->{'regions_stack'}->[-1];
+  } elsif ($self->{'current_node'}) {
     $index_entry->{'node'} = $self->{'current_node'};
   } elsif (!$self->{'current_section'}) {
     $self->line_error (sprintf($self->__("Entry for index `%s' outside of any 
node"), 
                                $index_name), $line_nr);
   }
-  $index_entry->{'region'} = $self->{'regions_stack'}->[-1]
-    if (@{$self->{'regions_stack'}});
   push @{$self->{'index_entries'}->{$index_name}}, $index_entry;
   $current->{'extra'}->{'index_entry'} = $index_entry;
 }
@@ -2262,6 +2262,7 @@
       if ($text eq '') {
         $self->line_warn (sprintf($self->__("address@hidden missing 
argument"), 
            $command), $line_nr);
+        $current->{'extra'}->{'missing_argument'} = 1;
       } else {
         $current->{'extra'}->{'text_arg'} = $text;
         if ($command eq 'include') {
@@ -2347,6 +2348,7 @@
       if (!scalar(@contents)) {
         $self->line_error (sprintf($self->__("address@hidden missing 
argument"), 
            $command), $line_nr);
+        $current->{'extra'}->{'missing_argument'} = 1;
       } else {
         $current->{'extra'}->{'misc_content'} = address@hidden;
         if (($command eq 'item' or $command eq 'itemx')
@@ -4009,6 +4011,7 @@
   if (! @contents) {
     $self->line_error (sprintf($self->__("address@hidden missing argument"), 
        $command), $line_nr);
+    $line_command->{'extra'}->{'missing_argument'} = 1;
     return undef;
   }
 
@@ -4129,7 +4132,8 @@
                              $line_nr); 
         }
         if (!defined($self->{'current_node'}) 
-            and !defined($self->{'current_section'})) {
+            and !defined($self->{'current_section'})
+            and !scalar(@{$self->{'regions_stack'}})) {
           $self->line_warn (sprintf($self->__("Printindex before document 
beginning: address@hidden %s"), 
                                     $name), $line_nr);
         }

Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- Texinfo/Convert/Info.pm     20 Feb 2011 23:36:01 -0000      1.33
+++ Texinfo/Convert/Info.pm     21 Feb 2011 22:32:21 -0000      1.34
@@ -135,6 +135,7 @@
       return undef;
     }
   }
+  print STDERR "DOCUMENT\n" if ($self->{'DEBUG'});
   if (!defined($elements) or $elements->[0]->{'extra'}->{'no_node'}) {
     $self->document_warn($self->__("Document without nodes."));
     my $output = $header.$self->_convert($root);
@@ -260,12 +261,14 @@
   $self->{'empty_lines_count'} = 1;
 
   if ($self->{'extra'} and $self->{'extra'}->{'copying'}) {
+    print STDERR "COPYING HEADER\n" if ($self->{'DEBUG'});
     $self->_set_global_multiple_commands();
-    $self->{'in_copying'} = 1;
+    $self->{'in_copying_header'} = 1;
     my $copying = $self->_convert({'contents' => 
           $self->{'extra'}->{'copying'}->{'contents'}});
     $result .= $copying;
-    delete $self->{'in_copying'};
+    $result .= $self->_footnotes();
+    delete $self->{'in_copying_header'};
     $self->_unset_global_multiple_commands();
   }
   if ($self->{'info'}->{'dircategory_direntry'}) {

Index: Texinfo/Convert/Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -b -r1.91 -r1.92
--- Texinfo/Convert/Plaintext.pm        21 Feb 2011 01:29:37 -0000      1.91
+++ Texinfo/Convert/Plaintext.pm        21 Feb 2011 22:32:22 -0000      1.92
@@ -983,7 +983,8 @@
   my $self = shift;
   my $anchor = shift;
 
-  $self->_add_location($anchor) unless ($self->{'multiple_pass'});
+  $self->_add_location($anchor) unless ($self->{'multiple_pass'} 
+                                        or $self->{'in_copying_header'});
   return '';
 }
 
@@ -1165,13 +1166,18 @@
     }
   }
 
-  if ($root->{'extra'} and $root->{'extra'}->{'invalid_nesting'}) {
+  if ($root->{'extra'}) {
+    if ($root->{'extra'}->{'invalid_nesting'}) {
     print STDERR "INVALID_NESTING\n" if ($self->{'DEBUG'});
     return '';
+    } elsif ($root->{'extra'}->{'missing_argument'}) {
+      print STDERR "MISSING_ARGUMENT\n" if ($self->{'DEBUG'});
+      return '';
+    }
   }
 
   if ($root->{'extra'} and $root->{'extra'}->{'index_entry'}
-      and !$self->{'multiple_pass'} and !$self->{'in_copying'}) {
+      and !$self->{'multiple_pass'} and !$self->{'in_copying_header'}) {
     my $location = $self->_add_location($root);
     # remove a 'lines' from $location if at the very end of a node
     # since it will lead to the next node otherwise.

Index: t/09indices.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/09indices.t,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/09indices.t       20 Feb 2011 23:36:01 -0000      1.10
+++ t/09indices.t       21 Feb 2011 22:32:22 -0000      1.11
@@ -145,6 +145,10 @@
 
 @printindex fn
 '],
+['empty_cindex_entry',
+'@node Top
address@hidden
+']
 );
 
 foreach my $test (@test_formatted) {

Index: t/results/columnfractions/empty.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/columnfractions/empty.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/results/columnfractions/empty.pl  15 Feb 2011 21:40:32 -0000      1.22
+++ t/results/columnfractions/empty.pl  21 Feb 2011 22:32:22 -0000      1.23
@@ -29,7 +29,9 @@
                 }
               ],
               'cmdname' => 'columnfractions',
-              'extra' => {},
+              'extra' => {
+                'missing_argument' => 1
+              },
               'line_nr' => {
                 'file_name' => '',
                 'line_nr' => 1,

Index: t/results/columnfractions/empty_comment.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/columnfractions/empty_comment.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/results/columnfractions/empty_comment.pl  15 Feb 2011 21:40:32 -0000      
1.22
+++ t/results/columnfractions/empty_comment.pl  21 Feb 2011 22:32:22 -0000      
1.23
@@ -40,7 +40,9 @@
                 }
               ],
               'cmdname' => 'columnfractions',
-              'extra' => {},
+              'extra' => {
+                'missing_argument' => 1
+              },
               'line_nr' => {
                 'file_name' => '',
                 'line_nr' => 1,

Index: t/results/info_tests/def_in_copying.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/info_tests/def_in_copying.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- t/results/info_tests/def_in_copying.pl      15 Feb 2011 21:40:38 -0000      
1.2
+++ t/results/info_tests/def_in_copying.pl      21 Feb 2011 22:32:22 -0000      
1.3
@@ -241,7 +241,6 @@
                       'index_name' => 'fn',
                       'index_prefix' => 'f',
                       'key' => 'bb',
-                      'node' => {},
                       'number' => 1,
                       'region' => {}
                     },
@@ -319,7 +318,6 @@
                       'index_name' => 'fn',
                       'index_prefix' => 'f',
                       'key' => 'bbx',
-                      'node' => {},
                       'number' => 2,
                       'region' => {}
                     },
@@ -666,7 +664,6 @@
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'def_parsed_hash'}{'name'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'def_args'}[2][1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'index_entry'}{'command'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'index_entry'}{'content'}[0]
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'def_args'}[2][1];
-$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'index_entry'}{'node'}
 = $result_trees{'def_in_copying'}{'contents'}[1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'index_entry'}{'region'}
 = $result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
 = $result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'args'}[0];
@@ -676,7 +673,6 @@
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'def_parsed_hash'}{'name'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'def_args'}[2][1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'index_entry'}{'command'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'index_entry'}{'content'}[0]
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'def_args'}[2][1];
-$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'index_entry'}{'node'}
 = $result_trees{'def_in_copying'}{'contents'}[1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'extra'}{'index_entry'}{'region'}
 = $result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[1]{'parent'}
 = $result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2];
 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[2]{'contents'}[0]{'parent'}
 = 
$result_trees{'def_in_copying'}{'contents'}[2]{'contents'}[1]{'contents'}[2]{'contents'}[2];

Index: t/results/misc_commands/command_not_closed_in_documentencoding.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/misc_commands/command_not_closed_in_documentencoding.pl   19 Feb 
2011 02:26:41 -0000      1.3
+++ t/results/misc_commands/command_not_closed_in_documentencoding.pl   21 Feb 
2011 22:32:23 -0000      1.4
@@ -36,6 +36,9 @@
         }
       ],
       'cmdname' => 'documentencoding',
+      'extra' => {
+        'missing_argument' => 1
+      },
       'line_nr' => {},
       'parent' => {}
     }

Index: t/results/misc_commands/empty_documentencoding.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/misc_commands/empty_documentencoding.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/misc_commands/empty_documentencoding.pl   7 Dec 2010 20:34:30 
-0000       1.11
+++ t/results/misc_commands/empty_documentencoding.pl   21 Feb 2011 22:32:23 
-0000      1.12
@@ -20,6 +20,9 @@
         }
       ],
       'cmdname' => 'documentencoding',
+      'extra' => {
+        'missing_argument' => 1
+      },
       'line_nr' => {
         'file_name' => '',
         'line_nr' => 1,

Index: t/results/sectioning/complex.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/sectioning/complex.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/sectioning/complex.pl     15 Feb 2011 21:40:47 -0000      1.9
+++ t/results/sectioning/complex.pl     21 Feb 2011 22:32:23 -0000      1.10
@@ -385,7 +385,9 @@
           'type' => 'empty_line'
         }
       ],
-      'extra' => {},
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 0,
       'line_nr' => {
         'file_name' => '',
@@ -2766,7 +2768,8 @@
           'extra' => {
             'normalized' => 'Top'
           }
-        }
+        },
+        'missing_argument' => 1
       },
       'level' => 0,
       'section_childs' => [
@@ -2959,7 +2962,9 @@
   'extra' => {
     'associated_section' => {
       'cmdname' => 'top',
-      'extra' => {},
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 0
     },
     'normalized' => 'Top'

Index: t/results/sectioning/raiselowersections.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/raiselowersections.pl,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- t/results/sectioning/raiselowersections.pl  15 Feb 2011 21:40:47 -0000      
1.29
+++ t/results/sectioning/raiselowersections.pl  21 Feb 2011 22:32:23 -0000      
1.30
@@ -230,7 +230,9 @@
           'type' => 'empty_line'
         }
       ],
-      'extra' => {},
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 0,
       'line_nr' => {
         'file_name' => '',
@@ -1342,7 +1344,8 @@
           'extra' => {
             'normalized' => 'Top'
           }
-        }
+        },
+        'missing_argument' => 1
       },
       'level' => 0,
       'section_childs' => [
@@ -1444,7 +1447,9 @@
   'extra' => {
     'associated_section' => {
       'cmdname' => 'top',
-      'extra' => {},
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 0
     },
     'normalized' => 'Top'

Index: t/results/sectioning/unnumbered_no_argument.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/unnumbered_no_argument.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/sectioning/unnumbered_no_argument.pl      19 Dec 2010 17:25:10 
-0000      1.6
+++ t/results/sectioning/unnumbered_no_argument.pl      21 Feb 2011 22:32:23 
-0000      1.7
@@ -26,6 +26,9 @@
       ],
       'cmdname' => 'unnumbered',
       'contents' => [],
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 1,
       'line_nr' => {
         'file_name' => '',
@@ -53,6 +56,9 @@
   'section_childs' => [
     {
       'cmdname' => 'unnumbered',
+      'extra' => {
+        'missing_argument' => 1
+      },
       'level' => 1,
       'section_up' => {}
     }

Index: t/results/xtable/empty_item_itemx.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/xtable/empty_item_itemx.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/xtable/empty_item_itemx.pl        20 Feb 2011 14:47:09 -0000      
1.3
+++ t/results/xtable/empty_item_itemx.pl        21 Feb 2011 22:32:23 -0000      
1.4
@@ -116,6 +116,9 @@
             }
           ],
           'cmdname' => 'itemx',
+          'extra' => {
+            'missing_argument' => 1
+          },
           'parent' => {}
         },
         {
@@ -174,6 +177,9 @@
             }
           ],
           'cmdname' => 'item',
+          'extra' => {
+            'missing_argument' => 1
+          },
           'parent' => {}
         },
         {

Index: t/results/indices/empty_cindex_entry.pl
===================================================================
RCS file: t/results/indices/empty_cindex_entry.pl
diff -N t/results/indices/empty_cindex_entry.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/indices/empty_cindex_entry.pl     21 Feb 2011 22:32:22 -0000      
1.1
@@ -0,0 +1,158 @@
+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{'empty_cindex_entry'} = {
+  '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' => [
+        {
+          'args' => [
+            {
+              'contents' => [
+                {
+                  'parent' => {},
+                  'text' => '
+',
+                  'type' => 'empty_line_after_command'
+                }
+              ],
+              'parent' => {},
+              'type' => 'misc_line_arg'
+            }
+          ],
+          'cmdname' => 'cindex',
+          'extra' => {
+            'missing_argument' => 1
+          },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            '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{'empty_cindex_entry'}{'contents'}[0]{'parent'} = 
$result_trees{'empty_cindex_entry'};
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'empty_cindex_entry'}{'contents'}[1];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'contents'}[0]{'args'}[0];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'contents'}[0]{'args'}[0]{'parent'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'contents'}[0];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'contents'}[0]{'parent'} = 
$result_trees{'empty_cindex_entry'}{'contents'}[1];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'extra'}{'node_content'}[0] 
= $result_trees{'empty_cindex_entry'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
 = $result_trees{'empty_cindex_entry'}{'contents'}[1]{'extra'}{'node_content'};
+$result_trees{'empty_cindex_entry'}{'contents'}[1]{'parent'} = 
$result_trees{'empty_cindex_entry'};
+
+$result_texis{'empty_cindex_entry'} = '@node Top
address@hidden
+';
+
+
+$result_texts{'empty_cindex_entry'} = '';
+
+$result_sectioning{'empty_cindex_entry'} = {};
+
+$result_nodes{'empty_cindex_entry'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  },
+  'node_up' => {
+    'extra' => {
+      'manual_content' => [
+        {
+          'text' => 'dir'
+        }
+      ]
+    }
+  }
+};
+
+$result_menus{'empty_cindex_entry'} = {
+  'cmdname' => 'node',
+  'extra' => {
+    'normalized' => 'Top'
+  }
+};
+
+$result_errors{'empty_cindex_entry'} = [
+  {
+    'error_line' => ':2: @cindex missing argument
+',
+    'file_name' => '',
+    'line_nr' => 2,
+    'macro' => '',
+    'text' => '@cindex missing argument',
+    'type' => 'error'
+  }
+];
+
+
+
+$result_converted{'info'}->{'empty_cindex_entry'} = 'This is , produced by 
makeinfo version 4.13 from .
+
+
+File: ,  Node: Top,  Up: (dir)
+
+
+
+Tag Table:
+Node: Top52
+
+End Tag Table
+';
+
+1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]