texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp Texinfo/Parser.pm t/results/include/...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Parser.pm t/results/include/...
Date: Sat, 15 Oct 2011 21:31:09 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/10/15 21:31:09

Modified files:
        tp/Texinfo     : Parser.pm 
        tp/t/results/include: macro_and_commands_in_early_commands.pl 
                              macro_definition_in_include.pl 
                              macro_in_early_commands.pl 
                              value_expansion_in_include.pl 
        tp/t/results/sectioning: raiselowersections.pl 

Log message:
        Correct line numbers in included files.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.316&r2=1.317
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/macro_and_commands_in_early_commands.pl?cvsroot=texinfo&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/macro_definition_in_include.pl?cvsroot=texinfo&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/macro_in_early_commands.pl?cvsroot=texinfo&r1=1.35&r2=1.36
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/value_expansion_in_include.pl?cvsroot=texinfo&r1=1.33&r2=1.34
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/sectioning/raiselowersections.pl?cvsroot=texinfo&r1=1.41&r2=1.42

Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.316
retrieving revision 1.317
diff -u -b -r1.316 -r1.317
--- Texinfo/Parser.pm   15 Oct 2011 19:52:46 -0000      1.316
+++ Texinfo/Parser.pm   15 Oct 2011 21:31:07 -0000      1.317
@@ -2752,7 +2752,7 @@
               $included_file = 1;
               unshift @{$self->{'input'}}, { 
                 'name' => $file,
-                'line_nr' => 1,
+                'line_nr' => 0,
                 'pending' => [],
                 'fh' => $filehandle };
             } else {

Index: t/results/include/macro_and_commands_in_early_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/include/macro_and_commands_in_early_commands.pl,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- t/results/include/macro_and_commands_in_early_commands.pl   26 Sep 2011 
17:15:48 -0000      1.35
+++ t/results/include/macro_and_commands_in_early_commands.pl   15 Oct 2011 
21:31:07 -0000      1.36
@@ -383,7 +383,7 @@
           },
           'line_nr' => {
             'file_name' => 't/include_dir//macro_included.texi',
-            'line_nr' => 2,
+            'line_nr' => 1,
             'macro' => ''
           },
           'parent' => {}

Index: t/results/include/macro_definition_in_include.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/include/macro_definition_in_include.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- t/results/include/macro_definition_in_include.pl    26 Sep 2011 17:15:48 
-0000      1.17
+++ t/results/include/macro_definition_in_include.pl    15 Oct 2011 21:31:07 
-0000      1.18
@@ -37,7 +37,7 @@
       },
       'line_nr' => {
         'file_name' => 't/include_dir//macro_included.texi',
-        'line_nr' => 2,
+        'line_nr' => 1,
         'macro' => ''
       },
       'parent' => {}

Index: t/results/include/macro_in_early_commands.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/include/macro_in_early_commands.pl,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- t/results/include/macro_in_early_commands.pl        26 Sep 2011 17:15:48 
-0000      1.35
+++ t/results/include/macro_in_early_commands.pl        15 Oct 2011 21:31:07 
-0000      1.36
@@ -475,7 +475,7 @@
           },
           'line_nr' => {
             'file_name' => 't/include_dir//macro_included.texi',
-            'line_nr' => 2,
+            'line_nr' => 1,
             'macro' => ''
           },
           'parent' => {}

Index: t/results/include/value_expansion_in_include.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/include/value_expansion_in_include.pl,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- t/results/include/value_expansion_in_include.pl     25 Sep 2011 22:07:15 
-0000      1.33
+++ t/results/include/value_expansion_in_include.pl     15 Oct 2011 21:31:08 
-0000      1.34
@@ -179,7 +179,7 @@
               'contents' => [],
               'line_nr' => {
                 'file_name' => 't/include_dir//incl-incl.txi',
-                'line_nr' => 2,
+                'line_nr' => 1,
                 'macro' => ''
               },
               'parent' => {}
@@ -282,7 +282,7 @@
               'contents' => [],
               'line_nr' => {
                 'file_name' => 't/include_dir//incl-incl.txi',
-                'line_nr' => 2,
+                'line_nr' => 1,
                 'macro' => ''
               },
               'parent' => {}
@@ -385,7 +385,7 @@
               'contents' => [],
               'line_nr' => {
                 'file_name' => 't/include_dir//incl-incl.txi',
-                'line_nr' => 2,
+                'line_nr' => 1,
                 'macro' => ''
               },
               'parent' => {}

Index: t/results/sectioning/raiselowersections.pl
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/t/results/sectioning/raiselowersections.pl,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- t/results/sectioning/raiselowersections.pl  25 Sep 2011 22:07:16 -0000      
1.41
+++ t/results/sectioning/raiselowersections.pl  15 Oct 2011 21:31:09 -0000      
1.42
@@ -641,7 +641,7 @@
       },
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 13,
+        'line_nr' => 12,
         'macro' => ''
       },
       'parent' => {}
@@ -744,7 +744,7 @@
               },
               'line_nr' => {
                 'file_name' => 't/include_dir//section_file.texi',
-                'line_nr' => 17,
+                'line_nr' => 16,
                 'macro' => ''
               },
               'parent' => {},
@@ -785,7 +785,7 @@
               },
               'line_nr' => {
                 'file_name' => 't/include_dir//section_file.texi',
-                'line_nr' => 18,
+                'line_nr' => 17,
                 'macro' => ''
               },
               'parent' => {}
@@ -796,7 +796,7 @@
           },
           'line_nr' => {
             'file_name' => 't/include_dir//section_file.texi',
-            'line_nr' => 16,
+            'line_nr' => 15,
             'macro' => ''
           },
           'parent' => {}
@@ -817,7 +817,7 @@
       'level' => 2,
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 14,
+        'line_nr' => 13,
         'macro' => ''
       },
       'number' => '1.1',
@@ -866,7 +866,7 @@
       },
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 20,
+        'line_nr' => 19,
         'macro' => ''
       },
       'parent' => {}
@@ -969,7 +969,7 @@
               },
               'line_nr' => {
                 'file_name' => 't/include_dir//section_file.texi',
-                'line_nr' => 24,
+                'line_nr' => 23,
                 'macro' => ''
               },
               'parent' => {},
@@ -1010,7 +1010,7 @@
               },
               'line_nr' => {
                 'file_name' => 't/include_dir//section_file.texi',
-                'line_nr' => 25,
+                'line_nr' => 24,
                 'macro' => ''
               },
               'parent' => {}
@@ -1021,7 +1021,7 @@
           },
           'line_nr' => {
             'file_name' => 't/include_dir//section_file.texi',
-            'line_nr' => 23,
+            'line_nr' => 22,
             'macro' => ''
           },
           'parent' => {}
@@ -1042,7 +1042,7 @@
       'level' => 3,
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 21,
+        'line_nr' => 20,
         'macro' => ''
       },
       'number' => '1.1.1',
@@ -1091,7 +1091,7 @@
       },
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 27,
+        'line_nr' => 26,
         'macro' => ''
       },
       'parent' => {}
@@ -1178,7 +1178,7 @@
       'level' => 4,
       'line_nr' => {
         'file_name' => 't/include_dir//section_file.texi',
-        'line_nr' => 28,
+        'line_nr' => 27,
         'macro' => ''
       },
       'number' => '1.1.1.1',



reply via email to

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