texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp Texinfo/Parser.pm Texinfo/Structurin...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Parser.pm Texinfo/Structurin...
Date: Sat, 30 Oct 2010 09:36:46 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        10/10/30 09:36:46

Modified files:
        tp/Texinfo     : Parser.pm Structuring.pm 
        tp/t           : 30sectioning.t 
        tp/t/results/invalid_nestings: 
                                       def_not_closed_in_menu_description.pl 
                                       
style_not_closed_no_newline_root_commands.pl 
                                       style_not_closed_root_commands.pl 
                                       table_not_closed_in_menu_comment.pl 
                                       table_not_closed_in_menu_description.pl 
        tp/t/results/macro: macro_in_menu.pl macro_in_misc_commands.pl 
        tp/t/results/menu: detailmenu.pl menu_entry_name.pl 
                           menu_entry_name_comment.pl menu_entry_node.pl 
                           menu_entry_node_comments.pl 
                           menu_no_closed_after_empty_line.pl 
                           menu_no_closed_in_description.pl simple.pl 
        tp/t/results/sectioning: at_commands_in_refs.pl 
                                 character_and_spaces_in_refs.pl 
                                 nodename_parentheses.pl 
                                 raiselowersections.pl 
                                 some_at_commands_in_ref_nodes.pl 
        tp/t/results/value: value_in_node.pl 
Added files:
        tp/t/results/sectioning: node_empty_direction.pl 

Log message:
        Add line information to menu entries.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.126&r2=1.127
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/30sectioning.t?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/def_not_closed_in_menu_description.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/table_not_closed_in_menu_comment.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/invalid_nestings/table_not_closed_in_menu_description.pl?cvsroot=texinfo&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/macro/macro_in_menu.pl?cvsroot=texinfo&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/macro/macro_in_misc_commands.pl?cvsroot=texinfo&r1=1.22&r2=1.23
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/detailmenu.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_entry_name.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_entry_name_comment.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_entry_node.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_entry_node_comments.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_no_closed_after_empty_line.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/menu_no_closed_in_description.pl?cvsroot=texinfo&r1=1.4&r2=1.5
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/menu/simple.pl?cvsroot=texinfo&r1=1.11&r2=1.12
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/at_commands_in_refs.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/character_and_spaces_in_refs.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/nodename_parentheses.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/raiselowersections.pl?cvsroot=texinfo&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/some_at_commands_in_ref_nodes.pl?cvsroot=texinfo&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/node_empty_direction.pl?cvsroot=texinfo&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/value/value_in_node.pl?cvsroot=texinfo&r1=1.21&r2=1.22

Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -b -r1.126 -r1.127
--- Texinfo/Parser.pm   29 Oct 2010 23:04:32 -0000      1.126
+++ Texinfo/Parser.pm   30 Oct 2010 09:36:45 -0000      1.127
@@ -404,7 +404,7 @@
     'deftypeivar',   {'deftypecv' => '{Instance Variable}'},
     'defmethod',     {'defop'     => 'Method'},
     'deftypemethod', {'deftypeop' => 'Method'},
-         );
+);
 
 my %def_commands;
 my %def_aliases;
@@ -2198,6 +2198,7 @@
       }
     }
   }
+  $current->{'line_nr'} = $line_nr;
 }
 
 # the different types

Index: Texinfo/Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Texinfo/Structuring.pm      26 Oct 2010 22:28:43 -0000      1.6
+++ Texinfo/Structuring.pm      30 Oct 2010 09:36:45 -0000      1.7
@@ -63,6 +63,13 @@
 # float printindex contents shortcontents
 # anchor
 
+# todo:
+# associate menu with node
+# associate nodes with sections
+# complete directions for nodes with automatic sectioning
+#     automatic sectioning: scalar(@{$node->{'extra'}->{'nodes_manuals'} != 1)
+# 
+
 sub _next_content($)
 {
   my $current = shift;

Index: t/30sectioning.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/30sectioning.t,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/30sectioning.t    29 Oct 2010 23:04:32 -0000      1.9
+++ t/30sectioning.t    30 Oct 2010 09:36:45 -0000      1.10
@@ -53,6 +53,9 @@
 @anchor{(manual)anchor}.
 
 '],
+['node_empty_direction',
+'@node name, '
+],
 ['character_and_spaces_in_node',
 '
 @node Top

Index: t/results/invalid_nestings/def_not_closed_in_menu_description.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/def_not_closed_in_menu_description.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/invalid_nestings/def_not_closed_in_menu_description.pl    29 Oct 
2010 07:11:58 -0000      1.5
+++ t/results/invalid_nestings/def_not_closed_in_menu_description.pl    30 Oct 
2010 09:36:45 -0000      1.6
@@ -130,6 +130,11 @@
               ]
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl     
29 Oct 2010 22:17:41 -0000      1.10
+++ t/results/invalid_nestings/style_not_closed_no_newline_root_commands.pl     
30 Oct 2010 09:36:45 -0000      1.11
@@ -89,6 +89,11 @@
                   'normalized' => 'chapter'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 4,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/invalid_nestings/style_not_closed_root_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/style_not_closed_root_commands.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/invalid_nestings/style_not_closed_root_commands.pl        29 Oct 
2010 22:17:41 -0000      1.9
+++ t/results/invalid_nestings/style_not_closed_root_commands.pl        30 Oct 
2010 09:36:45 -0000      1.10
@@ -89,6 +89,11 @@
                   'normalized' => 'chapter'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 4,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/invalid_nestings/table_not_closed_in_menu_comment.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/table_not_closed_in_menu_comment.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/invalid_nestings/table_not_closed_in_menu_comment.pl      29 Oct 
2010 19:31:16 -0000      1.5
+++ t/results/invalid_nestings/table_not_closed_in_menu_comment.pl      30 Oct 
2010 09:36:45 -0000      1.6
@@ -55,6 +55,11 @@
               ]
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },

Index: t/results/invalid_nestings/table_not_closed_in_menu_description.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/invalid_nestings/table_not_closed_in_menu_description.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- t/results/invalid_nestings/table_not_closed_in_menu_description.pl  29 Oct 
2010 19:31:16 -0000      1.5
+++ t/results/invalid_nestings/table_not_closed_in_menu_description.pl  30 Oct 
2010 09:36:45 -0000      1.6
@@ -121,6 +121,11 @@
               ]
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/macro/macro_in_menu.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/macro/macro_in_menu.pl,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- t/results/macro/macro_in_menu.pl    29 Oct 2010 21:20:46 -0000      1.15
+++ t/results/macro/macro_in_menu.pl    30 Oct 2010 09:36:45 -0000      1.16
@@ -311,6 +311,11 @@
               'normalized' => 'menu-entry'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 27,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -373,6 +378,11 @@
               'normalized' => 'node'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 30,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -418,6 +428,11 @@
               'normalized' => 'other-node'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 31,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -463,6 +478,11 @@
               'normalized' => 'node-colon-macro'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 32,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -523,6 +543,11 @@
               'normalized' => 'entry'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 33,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/macro/macro_in_misc_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/macro/macro_in_misc_commands.pl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -b -r1.22 -r1.23
--- t/results/macro/macro_in_misc_commands.pl   29 Oct 2010 22:17:41 -0000      
1.22
+++ t/results/macro/macro_in_misc_commands.pl   30 Oct 2010 09:36:45 -0000      
1.23
@@ -2894,6 +2894,11 @@
                   'normalized' => 'node-atext'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 192,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/menu/detailmenu.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/menu/detailmenu.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/menu/detailmenu.pl        29 Oct 2010 07:12:00 -0000      1.9
+++ t/results/menu/detailmenu.pl        30 Oct 2010 09:36:45 -0000      1.10
@@ -59,6 +59,11 @@
               'normalized' => 'Copying-Conditions'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -119,6 +124,11 @@
                   'normalized' => 'detailmenu'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/menu/menu_entry_name.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/menu/menu_entry_name.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/menu/menu_entry_name.pl   29 Oct 2010 07:12:00 -0000      1.10
+++ t/results/menu/menu_entry_name.pl   30 Oct 2010 09:36:45 -0000      1.11
@@ -73,6 +73,11 @@
               'normalized' => 'b'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -142,6 +147,11 @@
               'normalized' => 'b1_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -211,6 +221,11 @@
               'normalized' => 'b2_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -280,6 +295,11 @@
               'normalized' => 'b3_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 5,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -349,6 +369,11 @@
               'normalized' => 'b1_002e'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 6,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -418,6 +443,11 @@
               'normalized' => '-b2-_002e'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 7,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -487,6 +517,11 @@
               'normalized' => 'b3_002e'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 8,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -556,6 +591,11 @@
               'normalized' => 'b1_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 9,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -625,6 +665,11 @@
               'normalized' => 'b2_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 10,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -694,6 +739,11 @@
               'normalized' => 'b3_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 11,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/menu/menu_entry_name_comment.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/menu/menu_entry_name_comment.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/menu/menu_entry_name_comment.pl   29 Oct 2010 07:12:00 -0000      
1.9
+++ t/results/menu/menu_entry_name_comment.pl   30 Oct 2010 09:36:45 -0000      
1.10
@@ -79,6 +79,11 @@
               'normalized' => 'b'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -156,6 +161,11 @@
               'normalized' => 'b'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -232,6 +242,11 @@
               'normalized' => 'b1c_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -308,6 +323,11 @@
               'normalized' => 'b2c_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 5,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -388,6 +408,11 @@
               'normalized' => 'b3c_002ec'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 6,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/menu/menu_entry_node.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/menu/menu_entry_node.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/menu/menu_entry_node.pl   29 Oct 2010 07:12:00 -0000      1.10
+++ t/results/menu/menu_entry_node.pl   30 Oct 2010 09:36:45 -0000      1.11
@@ -62,6 +62,11 @@
               'normalized' => 'a1'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -116,6 +121,11 @@
               'normalized' => 'a2'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -170,6 +180,11 @@
               'normalized' => 'a3'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -235,6 +250,11 @@
               'normalized' => '_0040a'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 5,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/menu/menu_entry_node_comments.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/menu/menu_entry_node_comments.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/menu/menu_entry_node_comments.pl  29 Oct 2010 07:12:00 -0000      
1.9
+++ t/results/menu/menu_entry_node_comments.pl  30 Oct 2010 09:36:45 -0000      
1.10
@@ -69,6 +69,11 @@
               'normalized' => 'a1c'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -130,6 +135,11 @@
               'normalized' => 'a2c'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 3,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -195,6 +205,11 @@
               'normalized' => 'a3c'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -262,6 +277,11 @@
               'normalized' => '-a4'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 5,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/menu/menu_no_closed_after_empty_line.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/menu/menu_no_closed_after_empty_line.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/results/menu/menu_no_closed_after_empty_line.pl   29 Oct 2010 07:12:00 
-0000      1.4
+++ t/results/menu/menu_no_closed_after_empty_line.pl   30 Oct 2010 09:36:45 
-0000      1.5
@@ -55,6 +55,11 @@
               ]
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },

Index: t/results/menu/menu_no_closed_in_description.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/menu/menu_no_closed_in_description.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- t/results/menu/menu_no_closed_in_description.pl     29 Oct 2010 07:12:00 
-0000      1.4
+++ t/results/menu/menu_no_closed_in_description.pl     30 Oct 2010 09:36:45 
-0000      1.5
@@ -54,6 +54,11 @@
               ]
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 2,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/menu/simple.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/menu/simple.pl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- t/results/menu/simple.pl    29 Oct 2010 07:12:00 -0000      1.11
+++ t/results/menu/simple.pl    30 Oct 2010 09:36:45 -0000      1.12
@@ -85,6 +85,11 @@
               'normalized' => 'node'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 4,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -130,6 +135,11 @@
               'normalized' => 'node-name'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 5,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -190,6 +200,11 @@
               'normalized' => 'node'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 6,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -245,6 +260,11 @@
               'normalized' => 'last'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 7,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         },
@@ -313,6 +333,11 @@
               'normalized' => 'last-node-entry'
             }
           },
+          'line_nr' => {
+            'file_name' => '',
+            'line_nr' => 12,
+            'macro' => ''
+          },
           'parent' => {},
           'type' => 'menu_entry'
         }

Index: t/results/sectioning/at_commands_in_refs.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/at_commands_in_refs.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/sectioning/at_commands_in_refs.pl 29 Oct 2010 22:17:41 -0000      
1.6
+++ t/results/sectioning/at_commands_in_refs.pl 30 Oct 2010 09:36:45 -0000      
1.7
@@ -156,6 +156,11 @@
                   'normalized' => '-_007b-_007d'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -281,6 +286,11 @@
                   'normalized' => '----_0021---_002e--_002e-_003f-_0040'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -442,6 +452,11 @@
                   'normalized' => 
'LaTeX-TeX-_2022-_002c-_00a9-_2026-_002e_002e_002e'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -585,6 +600,11 @@
                   'normalized' => 
'_2261-error_002d_002d_003e-_20ac-_00a1-_2192-_2212'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 8,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -674,6 +694,11 @@
                   'normalized' => '_2265-_2264-_2192'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 9,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -835,6 +860,11 @@
                   'normalized' => '_00aa-_00ba-_2605-_00a3-_22a3-_00bf-_00ae'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 10,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -960,6 +990,11 @@
                   'normalized' => '_21d2-_00b0-a-b--_00e5'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 11,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -1247,6 +1282,11 @@
                   'normalized' => 
'_00c5-_00e6-_0153-_00c6-_0152-_00f8-_00d8-_00df-_0142-_0141-_00d0-_00f0-_00de-_00fe'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 12,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -1541,6 +1581,11 @@
                   'normalized' => 
'_00e4-_1ebd-_00ee-_00e2-_00e0-_00e9-_00e7-_0113-e_030a-e_030b-_0119'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 13,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -1737,6 +1782,11 @@
                   'normalized' => '_0117-_0115-e_0332-_1eb9-_011b-j-ee_0361'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 14,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -1880,6 +1930,11 @@
                   'normalized' => '_201c-_201d-_2018-_2019-_201e-_201a'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 15,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2023,6 +2078,11 @@
                   'normalized' => '_00ab-_00bb-_00ab-_00bb-_2039-_203a'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 16,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2068,6 +2128,11 @@
                   'normalized' => 
'_0060_0060-_0027_0027-_002d_002d_002d-_002d_002d'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 17,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2186,6 +2251,11 @@
                   'normalized' => 'AAA-AAA-BBB'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 18,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2304,6 +2374,11 @@
                   'normalized' => 'CCC-CCC-DDD'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 19,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2415,6 +2490,11 @@
                   'normalized' => 'the-someone-no_005fexplain_0040there'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 20,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2536,6 +2616,11 @@
                   'normalized' => 'f_002d_002dile1-f_002d_002dile'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 21,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2596,6 +2681,11 @@
                   'normalized' => '-_0040-_007b_007d-_002e-'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 22,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -2880,6 +2970,11 @@
                   'normalized' => 
'cite-asis-in-_0040w-b-in-r-SC-str-t-var-dfn-i'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 23,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -3093,6 +3188,11 @@
                   'normalized' => 
'env-code-option-samp-command-file-C_002dx-ESC'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 24,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -3156,6 +3256,11 @@
                   'normalized' => '8_002e27in'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 25,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -3237,6 +3342,11 @@
                   'normalized' => 'sansserif-slanted'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 26,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -3295,6 +3405,11 @@
                   'normalized' => 'indicateurl'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 27,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -3428,6 +3543,11 @@
                   'normalized' => 
'http_003a_002f_002fsomewhere_005faaa-url-_002fman_002ecgi_002f1_002fls'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 28,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/sectioning/character_and_spaces_in_refs.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/character_and_spaces_in_refs.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/sectioning/character_and_spaces_in_refs.pl        29 Oct 2010 
22:17:41 -0000      1.6
+++ t/results/sectioning/character_and_spaces_in_refs.pl        30 Oct 2010 
09:36:46 -0000      1.7
@@ -136,6 +136,11 @@
                   'normalized' => 'other-nodes'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }
@@ -718,6 +723,11 @@
                   'normalized' => 
'_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 24,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -763,6 +773,11 @@
                   'normalized' => 
'_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 25,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -808,6 +823,11 @@
                   'normalized' => 'local-node'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 26,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/sectioning/nodename_parentheses.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/nodename_parentheses.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/sectioning/nodename_parentheses.pl        29 Oct 2010 23:04:32 
-0000      1.7
+++ t/results/sectioning/nodename_parentheses.pl        30 Oct 2010 09:36:46 
-0000      1.8
@@ -136,6 +136,11 @@
                   'normalized' => 'Node-_0028with-parentheses_0029'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 5,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -181,6 +186,11 @@
                   'normalized' => 'Other-node'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -235,6 +245,11 @@
                   'normalized' => 'node'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/sectioning/raiselowersections.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/raiselowersections.pl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- t/results/sectioning/raiselowersections.pl  29 Oct 2010 22:17:41 -0000      
1.10
+++ t/results/sectioning/raiselowersections.pl  30 Oct 2010 09:36:46 -0000      
1.11
@@ -150,6 +150,11 @@
                   'normalized' => 'Chapter'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             },
@@ -195,6 +200,11 @@
                   'normalized' => 'Second-chapter'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }
@@ -351,6 +361,11 @@
                   'normalized' => 'Chapter-in-included-file'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 15,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }
@@ -577,6 +592,11 @@
                   'normalized' => 'Section'
                 }
               },
+              'line_nr' => {
+                'file_name' => 't/include//section_file.texi',
+                'line_nr' => 17,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }
@@ -736,6 +756,11 @@
                   'normalized' => 'Subsection'
                 }
               },
+              'line_nr' => {
+                'file_name' => 't/include//section_file.texi',
+                'line_nr' => 24,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/sectioning/some_at_commands_in_ref_nodes.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/some_at_commands_in_ref_nodes.pl,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- t/results/sectioning/some_at_commands_in_ref_nodes.pl       29 Oct 2010 
22:17:41 -0000      1.6
+++ t/results/sectioning/some_at_commands_in_ref_nodes.pl       30 Oct 2010 
09:36:46 -0000      1.7
@@ -307,6 +307,11 @@
                   'normalized' => 
'A-SC-node-_00ef-_00ef-_1e14-_0142-_1e08-_00a1'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 6,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/value/value_in_node.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/value/value_in_node.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- t/results/value/value_in_node.pl    29 Oct 2010 22:17:41 -0000      1.21
+++ t/results/value/value_in_node.pl    30 Oct 2010 09:36:46 -0000      1.22
@@ -235,6 +235,11 @@
                   'normalized' => 'Node-1'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 7,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }
@@ -463,6 +468,11 @@
                   'normalized' => 'Section-1_002e1'
                 }
               },
+              'line_nr' => {
+                'file_name' => '',
+                'line_nr' => 16,
+                'macro' => ''
+              },
               'parent' => {},
               'type' => 'menu_entry'
             }

Index: t/results/sectioning/node_empty_direction.pl
===================================================================
RCS file: t/results/sectioning/node_empty_direction.pl
diff -N t/results/sectioning/node_empty_direction.pl
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ t/results/sectioning/node_empty_direction.pl        30 Oct 2010 09:36:46 
-0000      1.1
@@ -0,0 +1,83 @@
+use vars qw(%result_texis %result_texts %result_trees %result_errors 
%results_indices);
+
+$result_trees{'node_empty_direction'} = {
+  'contents' => [
+    {
+      'contents' => [],
+      'type' => 'text_root'
+    },
+    {
+      'args' => [
+        {
+          'contents' => [
+            {
+              'parent' => {},
+              'text' => ' ',
+              'type' => 'empty_spaces_after_command'
+            },
+            {
+              'parent' => {},
+              'text' => 'name'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        },
+        {
+          'contents' => [
+            {
+              'text' => ' ',
+              'type' => 'empty_spaces_before_argument'
+            }
+          ],
+          'parent' => {},
+          'type' => 'misc_line_arg'
+        }
+      ],
+      'cmdname' => 'node',
+      'contents' => [],
+      'extra' => {
+        'nodes_manuals' => [
+          {
+            'node_content' => [
+              {}
+            ],
+            'normalized' => 'name'
+          },
+          undef
+        ]
+      },
+      'line_nr' => {
+        'file_name' => '',
+        'line_nr' => 1,
+        'macro' => ''
+      },
+      'parent' => {},
+      'special' => {
+        'node_content' => [],
+        'normalized' => 'name'
+      }
+    }
+  ],
+  'type' => 'document_root'
+};
+$result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0]{'contents'}[0]{'parent'}
 = $result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0];
+$result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0]{'contents'}[1]{'parent'}
 = $result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0];
+$result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0]{'parent'} = 
$result_trees{'node_empty_direction'}{'contents'}[1];
+$result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[1]{'parent'} = 
$result_trees{'node_empty_direction'}{'contents'}[1];
+$result_trees{'node_empty_direction'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}[0]
 = 
$result_trees{'node_empty_direction'}{'contents'}[1]{'args'}[0]{'contents'}[1];
+$result_trees{'node_empty_direction'}{'contents'}[1]{'parent'} = 
$result_trees{'node_empty_direction'};
+$result_trees{'node_empty_direction'}{'contents'}[1]{'special'}{'node_content'}
 = 
$result_trees{'node_empty_direction'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'};
+
+$result_texis{'node_empty_direction'} = '@node name, ';
+
+
+$result_texts{'node_empty_direction'} = '';
+
+$result_sectioning{'node_empty_direction'} = {
+  'text' => '_ROOT'
+};
+$result_errors{'node_empty_direction'} = [];
+
+
+1;



reply via email to

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