texinfo-commits
[Top][All Lists]
Advanced

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

[7495] sort errors


From: gavinsmith0123
Subject: [7495] sort errors
Date: Thu, 3 Nov 2016 15:16:21 +0000 (UTC)

Revision: 7495
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7495
Author:   gavin
Date:     2016-11-03 15:16:21 +0000 (Thu, 03 Nov 2016)
Log Message:
-----------
sort errors

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Report.pm
    trunk/tp/t/results/converters_tests/at_commands_in_raw.pl
    trunk/tp/t/results/converters_tests/at_commands_in_refs.pl
    trunk/tp/t/results/converters_tests/at_commands_in_refs_latin1.pl
    trunk/tp/t/results/converters_tests/at_commands_in_refs_utf8.pl
    trunk/tp/t/results/converters_tests/ref_error_formatting.pl
    trunk/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
    trunk/tp/t/results/converters_tests/spaces_in_node_names.pl
    trunk/tp/t/results/coverage_braces/test_image.pl
    trunk/tp/t/results/docbook_tests/special_docbook_unnumbered.pl
    trunk/tp/t/results/float/float_copying.pl
    trunk/tp/t/results/info_tests/before_node_and_section.pl
    trunk/tp/t/results/info_tests/top_node_normalization.pl
    trunk/tp/t/results/invalid_nestings/center.pl
    trunk/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
    trunk/tp/t/results/invalid_nestings/multitable_item_in_index.pl
    trunk/tp/t/results/macro/double_macro_definition.pl
    trunk/tp/t/results/multitable/empty_multitable_with_cells.pl
    trunk/tp/t/results/multitable/multitable_begin_with_tab.pl
    trunk/tp/t/results/plaintext_tests/at_commands_glued_in_example.pl
    trunk/tp/t/results/plaintext_tests/at_commands_glued_in_paragraph.pl
    trunk/tp/t/results/plaintext_tests/itemize_in_headitem_in_example.pl
    trunk/tp/t/results/sectioning/double_node_anchor_float.pl
    trunk/tp/t/results/sectioning/double_top.pl
    trunk/tp/t/results/sectioning/double_top_in_menu.pl
    trunk/tp/t/results/sectioning/equivalent_nodes.pl
    trunk/tp/t/results/sectioning/lowered_subsubsection.pl
    trunk/tp/t/results/sectioning/menutextorder.pl
    trunk/tp/t/results/sectioning/no_element.pl
    trunk/tp/t/results/sectioning/node.pl
    trunk/tp/t/results/sectioning/nodename_parentheses.pl
    trunk/tp/t/results/sectioning/placed_things_before_element.pl
    trunk/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
    trunk/tp/t/results/sectioning/top_node_no_menu_direction.pl
    trunk/tp/t/results/xtable/invalid_command_and_brace_in_table.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/ChangeLog     2016-11-03 15:16:21 UTC (rev 7495)
@@ -1,5 +1,10 @@
 2016-11-03  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Report.pm (errors): Sort the errors by filename and 
+       line number.
+
+2016-11-03  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Parser.pm (_parse_texi) <cross-reference commands>:
        Don't record 'normalized' for @inforef, and for any reference 
        that is not recorded in the 'internal_references' array.

Modified: trunk/tp/Texinfo/Report.pm
===================================================================
--- trunk/tp/Texinfo/Report.pm  2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/Texinfo/Report.pm  2016-11-03 15:16:21 UTC (rev 7495)
@@ -55,6 +55,14 @@
 {
   my $self = shift;
   #print STDERR "REPORT ERRORS $self $self->{'errors_warnings'}\n";
+
+  # Sort by filename, then by line number.
+  @{$self->{'errors_warnings'}} = sort {
+    ($a->{'file_name'} ne $b->{'file_name'})
+    ? ($a->{'file_name'} cmp $b->{'filename'})
+    : ($a->{'line_nr'} <=> $b->{'line_nr'});
+  } @{$self->{'errors_warnings'}};
+
   return ($self->{'errors_warnings'}, $self->{'error_nrs'});
 }
 

Modified: trunk/tp/t/results/converters_tests/at_commands_in_raw.pl
===================================================================
--- trunk/tp/t/results/converters_tests/at_commands_in_raw.pl   2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/at_commands_in_raw.pl   2016-11-03 
15:16:21 UTC (rev 7495)
@@ -1169,6 +1169,15 @@
     'type' => 'warning'
   },
   {
+    'error_line' => ':67: @ref reference to nonexistent node `anchor in tex\'
+',
+    'file_name' => '',
+    'line_nr' => 67,
+    'macro' => '',
+    'text' => '@ref reference to nonexistent node `anchor in tex\'',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':70: unknown command `newindex\'
 ',
     'file_name' => '',
@@ -1284,15 +1293,6 @@
     'macro' => '',
     'text' => 'misplaced }',
     'type' => 'error'
-  },
-  {
-    'error_line' => ':67: @ref reference to nonexistent node `anchor in tex\'
-',
-    'file_name' => '',
-    'line_nr' => 67,
-    'macro' => '',
-    'text' => '@ref reference to nonexistent node `anchor in tex\'',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/converters_tests/at_commands_in_refs.pl
===================================================================
--- trunk/tp/t/results/converters_tests/at_commands_in_refs.pl  2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/at_commands_in_refs.pl  2016-11-03 
15:16:21 UTC (rev 7495)
@@ -22897,19 +22897,19 @@
 
 $result_converted_errors{'plaintext'}->{'at_commands_in_refs'} = [
   {
-    'error_line' => ':92: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':90: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 92,
+    'line_nr' => 90,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'
   },
   {
-    'error_line' => ':90: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':92: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 90,
+    'line_nr' => 92,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'
@@ -24032,19 +24032,19 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':92: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':90: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 92,
+    'line_nr' => 90,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'
   },
   {
-    'error_line' => ':90: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':92: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 90,
+    'line_nr' => 92,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'

Modified: trunk/tp/t/results/converters_tests/at_commands_in_refs_latin1.pl
===================================================================
--- trunk/tp/t/results/converters_tests/at_commands_in_refs_latin1.pl   
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/at_commands_in_refs_latin1.pl   
2016-11-03 15:16:21 UTC (rev 7495)
@@ -22990,19 +22990,19 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':95: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':93: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 95,
+    'line_nr' => 93,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'
   },
   {
-    'error_line' => ':93: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':95: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 93,
+    'line_nr' => 95,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'

Modified: trunk/tp/t/results/converters_tests/at_commands_in_refs_utf8.pl
===================================================================
--- trunk/tp/t/results/converters_tests/at_commands_in_refs_utf8.pl     
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/at_commands_in_refs_utf8.pl     
2016-11-03 15:16:21 UTC (rev 7495)
@@ -22972,19 +22972,19 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':95: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':93: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 95,
+    'line_nr' => 93,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'
   },
   {
-    'error_line' => ':93: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
+    'error_line' => ':95: warning: could not find @image file `f--ile1.txt\' 
nor alternate text
 ',
     'file_name' => '',
-    'line_nr' => 93,
+    'line_nr' => 95,
     'macro' => '',
     'text' => 'could not find @image file `f--ile1.txt\' nor alternate text',
     'type' => 'warning'

Modified: trunk/tp/t/results/converters_tests/ref_error_formatting.pl
===================================================================
--- trunk/tp/t/results/converters_tests/ref_error_formatting.pl 2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/ref_error_formatting.pl 2016-11-03 
15:16:21 UTC (rev 7495)
@@ -4675,85 +4675,85 @@
 
 $result_errors{'ref_error_formatting'} = [
   {
-    'error_line' => ':4: warning: command @ref missing a node or external 
manual argument
+    'error_line' => ':2: @ref reference to nonexistent node `node\'
 ',
     'file_name' => '',
-    'line_nr' => 4,
+    'line_nr' => 2,
     'macro' => '',
-    'text' => 'command @ref missing a node or external manual argument',
-    'type' => 'warning'
+    'text' => '@ref reference to nonexistent node `node\'',
+    'type' => 'error'
   },
   {
-    'error_line' => ':5: warning: command @ref missing a node or external 
manual argument
+    'error_line' => ':4: warning: command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 4,
     'macro' => '',
     'text' => 'command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':22: warning: command @ref missing a node or external 
manual argument
+    'error_line' => ':5: warning: command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
-    'line_nr' => 22,
+    'line_nr' => 5,
     'macro' => '',
     'text' => 'command @ref missing a node or external manual argument',
     'type' => 'warning'
   },
   {
-    'error_line' => ':33: warning: command @inforef missing a node or external 
manual argument
+    'error_line' => ':8: @ref reference to nonexistent node `node\'
 ',
     'file_name' => '',
-    'line_nr' => 33,
+    'line_nr' => 8,
     'macro' => '',
-    'text' => 'command @inforef missing a node or external manual argument',
-    'type' => 'warning'
+    'text' => '@ref reference to nonexistent node `node\'',
+    'type' => 'error'
   },
   {
-    'error_line' => ':36: warning: command @inforef missing a node or external 
manual argument
+    'error_line' => ':9: @ref reference to nonexistent node `node\'
 ',
     'file_name' => '',
-    'line_nr' => 36,
+    'line_nr' => 9,
     'macro' => '',
-    'text' => 'command @inforef missing a node or external manual argument',
-    'type' => 'warning'
+    'text' => '@ref reference to nonexistent node `node\'',
+    'type' => 'error'
   },
   {
-    'error_line' => ':2: @ref reference to nonexistent node `node\'
+    'error_line' => ':12: @ref reference to nonexistent node `node\'
 ',
     'file_name' => '',
-    'line_nr' => 2,
+    'line_nr' => 12,
     'macro' => '',
     'text' => '@ref reference to nonexistent node `node\'',
     'type' => 'error'
   },
   {
-    'error_line' => ':8: @ref reference to nonexistent node `node\'
+    'error_line' => ':22: warning: command @ref missing a node or external 
manual argument
 ',
     'file_name' => '',
-    'line_nr' => 8,
+    'line_nr' => 22,
     'macro' => '',
-    'text' => '@ref reference to nonexistent node `node\'',
-    'type' => 'error'
+    'text' => 'command @ref missing a node or external manual argument',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':9: @ref reference to nonexistent node `node\'
+    'error_line' => ':33: warning: command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 33,
     'macro' => '',
-    'text' => '@ref reference to nonexistent node `node\'',
-    'type' => 'error'
+    'text' => 'command @inforef missing a node or external manual argument',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':12: @ref reference to nonexistent node `node\'
+    'error_line' => ':36: warning: command @inforef missing a node or external 
manual argument
 ',
     'file_name' => '',
-    'line_nr' => 12,
+    'line_nr' => 36,
     'macro' => '',
-    'text' => '@ref reference to nonexistent node `node\'',
-    'type' => 'error'
+    'text' => 'command @inforef missing a node or external manual argument',
+    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/converters_tests/spaces_in_empty_node_names.pl
===================================================================
--- trunk/tp/t/results/converters_tests/spaces_in_empty_node_names.pl   
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/spaces_in_empty_node_names.pl   
2016-11-03 15:16:21 UTC (rev 7495)
@@ -934,6 +934,33 @@
 
 $result_errors{'spaces_in_empty_node_names'} = [
   {
+    'error_line' => ':4: @menu reference to nonexistent node `@ @ \'
+',
+    'file_name' => '',
+    'line_nr' => 4,
+    'macro' => '',
+    'text' => '@menu reference to nonexistent node `@ @ \'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => ':5: @menu reference to nonexistent node address@hidden:  
:}\'
+',
+    'file_name' => '',
+    'line_nr' => 5,
+    'macro' => '',
+    'text' => '@menu reference to nonexistent node address@hidden:  :}\'',
+    'type' => 'error'
+  },
+  {
+    'error_line' => ':6: @menu reference to nonexistent node `@ \'
+',
+    'file_name' => '',
+    'line_nr' => 6,
+    'macro' => '',
+    'text' => '@menu reference to nonexistent node `@ \'',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':9: empty node name after expansion `@ @ \'
 ',
     'file_name' => '',
@@ -970,22 +997,22 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':17: warning: @verb should not appear in @ref
+    'error_line' => ':15: @ref reference to nonexistent node `@ @ \'
 ',
     'file_name' => '',
-    'line_nr' => 17,
+    'line_nr' => 15,
     'macro' => '',
-    'text' => '@verb should not appear in @ref',
-    'type' => 'warning'
+    'text' => '@ref reference to nonexistent node `@ @ \'',
+    'type' => 'error'
   },
   {
-    'error_line' => ':15: @ref reference to nonexistent node `@ @ \'
+    'error_line' => ':17: warning: @verb should not appear in @ref
 ',
     'file_name' => '',
-    'line_nr' => 15,
+    'line_nr' => 17,
     'macro' => '',
-    'text' => '@ref reference to nonexistent node `@ @ \'',
-    'type' => 'error'
+    'text' => '@verb should not appear in @ref',
+    'type' => 'warning'
   },
   {
     'error_line' => ':17: @ref reference to nonexistent node address@hidden:  
:}\'
@@ -1004,33 +1031,6 @@
     'macro' => '',
     'text' => '@ref reference to nonexistent node address@hidden  }\'',
     'type' => 'error'
-  },
-  {
-    'error_line' => ':4: @menu reference to nonexistent node `@ @ \'
-',
-    'file_name' => '',
-    'line_nr' => 4,
-    'macro' => '',
-    'text' => '@menu reference to nonexistent node `@ @ \'',
-    'type' => 'error'
-  },
-  {
-    'error_line' => ':5: @menu reference to nonexistent node address@hidden:  
:}\'
-',
-    'file_name' => '',
-    'line_nr' => 5,
-    'macro' => '',
-    'text' => '@menu reference to nonexistent node address@hidden:  :}\'',
-    'type' => 'error'
-  },
-  {
-    'error_line' => ':6: @menu reference to nonexistent node `@ \'
-',
-    'file_name' => '',
-    'line_nr' => 6,
-    'macro' => '',
-    'text' => '@menu reference to nonexistent node `@ \'',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/converters_tests/spaces_in_node_names.pl
===================================================================
--- trunk/tp/t/results/converters_tests/spaces_in_node_names.pl 2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/converters_tests/spaces_in_node_names.pl 2016-11-03 
15:16:21 UTC (rev 7495)
@@ -1087,6 +1087,15 @@
 
 $result_errors{'spaces_in_node_names'} = [
   {
+    'error_line' => ':6: warning: @menu entry node name `c@ \' different from 
node name address@hidden  }\'
+',
+    'file_name' => '',
+    'line_nr' => 6,
+    'macro' => '',
+    'text' => '@menu entry node name `c@ \' different from node name 
address@hidden  }\'',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':11: warning: @verb should not appear in @node
 ',
     'file_name' => '',
@@ -1103,15 +1112,6 @@
     'macro' => '',
     'text' => '@verb should not appear in @ref',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':6: warning: @menu entry node name `c@ \' different from 
node name address@hidden  }\'
-',
-    'file_name' => '',
-    'line_nr' => 6,
-    'macro' => '',
-    'text' => '@menu entry node name `c@ \' different from node name 
address@hidden  }\'',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/coverage_braces/test_image.pl
===================================================================
--- trunk/tp/t/results/coverage_braces/test_image.pl    2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/coverage_braces/test_image.pl    2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -4744,37 +4744,37 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 14,
+    'line_nr' => 9,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 14,
+    'line_nr' => 9,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 14,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 14,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
@@ -4868,19 +4868,19 @@
 
 $result_converted_errors{'plaintext'}->{'test_image'} = [
   {
-    'error_line' => ':14: warning: could not find @image file address@hidden  
a@<"%@  < & @ % " .txt\' nor alternate text (possibly involving @files-char)
+    'error_line' => ':9: warning: could not find @image file address@hidden  
a@<"%@  < & @ % " .txt\' nor alternate text (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 14,
+    'line_nr' => 9,
     'macro' => 'files-char',
     'text' => 'could not find @image file address@hidden  a@<"%@  < & @ % " 
.txt\' nor alternate text',
     'type' => 'warning'
   },
   {
-    'error_line' => ':9: warning: could not find @image file address@hidden  
a@<"%@  < & @ % " .txt\' nor alternate text (possibly involving @files-char)
+    'error_line' => ':14: warning: could not find @image file address@hidden  
a@<"%@  < & @ % " .txt\' nor alternate text (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 14,
     'macro' => 'files-char',
     'text' => 'could not find @image file address@hidden  a@<"%@  < & @ % " 
.txt\' nor alternate text',
     'type' => 'warning'
@@ -4973,37 +4973,37 @@
 
 $result_converted_errors{'html_text'}->{'test_image'} = [
   {
-    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 14,
+    'line_nr' => 9,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 14,
+    'line_nr' => 9,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 14,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':9: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
+    'error_line' => ':14: warning: @image file address@hidden  a@<"%@  < & @ % 
" \' (for HTML) not found, using address@hidden  a@<"%@  < & @ % " 
address@hidden  a@<"%@  < & @ % " \' (possibly involving @files-char)
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 14,
     'macro' => 'files-char',
     'text' => '@image file address@hidden  a@<"%@  < & @ % " \' (for HTML) not 
found, using address@hidden  a@<"%@  < & @ % " address@hidden  a@<"%@  < & @ % 
" \'',
     'type' => 'warning'

Modified: trunk/tp/t/results/docbook_tests/special_docbook_unnumbered.pl
===================================================================
--- trunk/tp/t/results/docbook_tests/special_docbook_unnumbered.pl      
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/docbook_tests/special_docbook_unnumbered.pl      
2016-11-03 15:16:21 UTC (rev 7495)
@@ -1364,6 +1364,15 @@
 
 $result_errors{'special_docbook_unnumbered'} = [
   {
+    'error_line' => ':1: node `Top\' lacks menu item for `colophon\' despite 
being its Up target
+',
+    'file_name' => '',
+    'line_nr' => 1,
+    'macro' => '',
+    'text' => 'node `Top\' lacks menu item for `colophon\' despite being its 
Up target',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':9: @menu reference to nonexistent node `glossary\'
 ',
     'file_name' => '',
@@ -1409,15 +1418,6 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: node `Top\' lacks menu item for `colophon\' despite 
being its Up target
-',
-    'file_name' => '',
-    'line_nr' => 1,
-    'macro' => '',
-    'text' => 'node `Top\' lacks menu item for `colophon\' despite being its 
Up target',
-    'type' => 'error'
-  },
-  {
     'error_line' => ':28: warning: node prev `acknowledgements\' in menu 
`preface\' and in sectioning `colophon\' differ
 ',
     'file_name' => '',

Modified: trunk/tp/t/results/float/float_copying.pl
===================================================================
--- trunk/tp/t/results/float/float_copying.pl   2016-11-03 12:17:06 UTC (rev 
7494)
+++ trunk/tp/t/results/float/float_copying.pl   2016-11-03 15:16:21 UTC (rev 
7495)
@@ -1804,15 +1804,6 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':19: @anchor output more than once: public domain anchor
-',
-    'file_name' => '',
-    'line_nr' => 19,
-    'macro' => '',
-    'text' => '@anchor output more than once: public domain anchor',
-    'type' => 'error'
-  },
-  {
     'error_line' => ':3: @float output more than once: public domain
 ',
     'file_name' => '',
@@ -1822,12 +1813,12 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':19: @anchor output more than once: public domain anchor
+    'error_line' => ':10: @anchor output more than once: caption copying 
footnote anchor
 ',
     'file_name' => '',
-    'line_nr' => 19,
+    'line_nr' => 10,
     'macro' => '',
-    'text' => '@anchor output more than once: public domain anchor',
+    'text' => '@anchor output more than once: caption copying footnote anchor',
     'type' => 'error'
   },
   {
@@ -1840,13 +1831,22 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':10: @anchor output more than once: caption copying 
footnote anchor
+    'error_line' => ':19: @anchor output more than once: public domain anchor
 ',
     'file_name' => '',
-    'line_nr' => 10,
+    'line_nr' => 19,
     'macro' => '',
-    'text' => '@anchor output more than once: caption copying footnote anchor',
+    'text' => '@anchor output more than once: public domain anchor',
     'type' => 'error'
+  },
+  {
+    'error_line' => ':19: @anchor output more than once: public domain anchor
+',
+    'file_name' => '',
+    'line_nr' => 19,
+    'macro' => '',
+    'text' => '@anchor output more than once: public domain anchor',
+    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/info_tests/before_node_and_section.pl
===================================================================
--- trunk/tp/t/results/info_tests/before_node_and_section.pl    2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/info_tests/before_node_and_section.pl    2016-11-03 
15:16:21 UTC (rev 7495)
@@ -1220,6 +1220,15 @@
 
 $result_converted_errors{'info'}->{'before_node_and_section'} = [
   {
+    'error_line' => ':3: warning: entry for index `cp\' outside of any node
+',
+    'file_name' => '',
+    'line_nr' => 3,
+    'macro' => '',
+    'text' => 'entry for index `cp\' outside of any node',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':4: warning: @footnote outside of any node
 ',
     'file_name' => '',
@@ -1236,15 +1245,6 @@
     'macro' => '',
     'text' => '@anchor outside of any node',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':3: warning: entry for index `cp\' outside of any node
-',
-    'file_name' => '',
-    'line_nr' => 3,
-    'macro' => '',
-    'text' => 'entry for index `cp\' outside of any node',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/info_tests/top_node_normalization.pl
===================================================================
--- trunk/tp/t/results/info_tests/top_node_normalization.pl     2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/info_tests/top_node_normalization.pl     2016-11-03 
15:16:21 UTC (rev 7495)
@@ -409,6 +409,15 @@
 
 $result_errors{'top_node_normalization'} = [
   {
+    'error_line' => ':1: warning: for `ToP\', up in menu `ToP\' and up 
`(dir)\' don\'t match
+',
+    'file_name' => '',
+    'line_nr' => 1,
+    'macro' => '',
+    'text' => 'for `ToP\', up in menu `ToP\' and up `(dir)\' don\'t match',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':3: warning: @xref to `TOP\', different from node name 
`ToP\'
 ',
     'file_name' => '',
@@ -434,15 +443,6 @@
     'macro' => '',
     'text' => '@menu entry node name `tOP\' different from node name `ToP\'',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':1: warning: for `ToP\', up in menu `ToP\' and up 
`(dir)\' don\'t match
-',
-    'file_name' => '',
-    'line_nr' => 1,
-    'macro' => '',
-    'text' => 'for `ToP\', up in menu `ToP\' and up `(dir)\' don\'t match',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/invalid_nestings/center.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/center.pl       2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/invalid_nestings/center.pl       2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -2359,6 +2359,15 @@
     'type' => 'error'
   },
   {
+    'error_line' => ':21: warning: @table has text but no @item
+',
+    'file_name' => '',
+    'line_nr' => 21,
+    'macro' => '',
+    'text' => '@table has text but no @item',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':22: @item outside of table or list
 ',
     'file_name' => '',
@@ -2377,15 +2386,6 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':21: warning: @table has text but no @item
-',
-    'file_name' => '',
-    'line_nr' => 21,
-    'macro' => '',
-    'text' => '@table has text but no @item',
-    'type' => 'warning'
-  },
-  {
     'error_line' => ':27: @item outside of table or list
 ',
     'file_name' => '',

Modified: 
trunk/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl  
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/invalid_nestings/itemx_in_itemize_enumerate_in_table.pl  
2016-11-03 15:16:21 UTC (rev 7495)
@@ -474,6 +474,15 @@
 
 $result_errors{'itemx_in_itemize_enumerate_in_table'} = [
   {
+    'error_line' => ':5: warning: @itemize has text but no @item
+',
+    'file_name' => '',
+    'line_nr' => 5,
+    'macro' => '',
+    'text' => '@itemize has text but no @item',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':6: @itemx not meaningful inside address@hidden' block
 ',
     'file_name' => '',
@@ -483,12 +492,12 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':5: warning: @itemize has text but no @item
+    'error_line' => ':9: warning: @enumerate has text but no @item
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 9,
     'macro' => '',
-    'text' => '@itemize has text but no @item',
+    'text' => '@enumerate has text but no @item',
     'type' => 'warning'
   },
   {
@@ -499,15 +508,6 @@
     'macro' => '',
     'text' => '@itemx not meaningful inside address@hidden' block',
     'type' => 'error'
-  },
-  {
-    'error_line' => ':9: warning: @enumerate has text but no @item
-',
-    'file_name' => '',
-    'line_nr' => 9,
-    'macro' => '',
-    'text' => '@enumerate has text but no @item',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/invalid_nestings/multitable_item_in_index.pl
===================================================================
--- trunk/tp/t/results/invalid_nestings/multitable_item_in_index.pl     
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/invalid_nestings/multitable_item_in_index.pl     
2016-11-03 15:16:21 UTC (rev 7495)
@@ -234,6 +234,15 @@
 
 $result_errors{'multitable_item_in_index'} = [
   {
+    'error_line' => ':1: warning: @multitable has text but no @item
+',
+    'file_name' => '',
+    'line_nr' => 1,
+    'macro' => '',
+    'text' => '@multitable has text but no @item',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':2: @item outside of table or list
 ',
     'file_name' => '',
@@ -259,15 +268,6 @@
     'macro' => '',
     'text' => 'entry for index `vr\' outside of any node',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':1: warning: @multitable has text but no @item
-',
-    'file_name' => '',
-    'line_nr' => 1,
-    'macro' => '',
-    'text' => '@multitable has text but no @item',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/macro/double_macro_definition.pl
===================================================================
--- trunk/tp/t/results/macro/double_macro_definition.pl 2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/macro/double_macro_definition.pl 2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -99,21 +99,21 @@
 
 $result_errors{'double_macro_definition'} = [
   {
-    'error_line' => ':4: warning: macro `foo\' previously defined
+    'error_line' => ':1: warning: here is the previous definition of `foo\'
 ',
     'file_name' => '',
-    'line_nr' => 4,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => 'macro `foo\' previously defined',
+    'text' => 'here is the previous definition of `foo\'',
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: here is the previous definition of `foo\'
+    'error_line' => ':4: warning: macro `foo\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 4,
     'macro' => '',
-    'text' => 'here is the previous definition of `foo\'',
+    'text' => 'macro `foo\' previously defined',
     'type' => 'warning'
   }
 ];

Modified: trunk/tp/t/results/multitable/empty_multitable_with_cells.pl
===================================================================
--- trunk/tp/t/results/multitable/empty_multitable_with_cells.pl        
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/multitable/empty_multitable_with_cells.pl        
2016-11-03 15:16:21 UTC (rev 7495)
@@ -194,6 +194,15 @@
     'type' => 'warning'
   },
   {
+    'error_line' => ':1: warning: @multitable has text but no @item
+',
+    'file_name' => '',
+    'line_nr' => 1,
+    'macro' => '',
+    'text' => '@multitable has text but no @item',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':2: warning: @item in empty multitable
 ',
     'file_name' => '',
@@ -228,15 +237,6 @@
     'macro' => '',
     'text' => '@item in empty multitable',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':1: warning: @multitable has text but no @item
-',
-    'file_name' => '',
-    'line_nr' => 1,
-    'macro' => '',
-    'text' => '@multitable has text but no @item',
-    'type' => 'warning'
   }
 ];
 

Modified: trunk/tp/t/results/multitable/multitable_begin_with_tab.pl
===================================================================
--- trunk/tp/t/results/multitable/multitable_begin_with_tab.pl  2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/multitable/multitable_begin_with_tab.pl  2016-11-03 
15:16:21 UTC (rev 7495)
@@ -414,22 +414,22 @@
 
 $result_errors{'multitable_begin_with_tab'} = [
   {
-    'error_line' => ':2: @tab before @item
+    'error_line' => ':1: warning: @multitable has text but no @item
 ',
     'file_name' => '',
-    'line_nr' => 2,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@tab before @item',
-    'type' => 'error'
+    'text' => '@multitable has text but no @item',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: @multitable has text but no @item
+    'error_line' => ':2: @tab before @item
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 2,
     'macro' => '',
-    'text' => '@multitable has text but no @item',
-    'type' => 'warning'
+    'text' => '@tab before @item',
+    'type' => 'error'
   },
   {
     'error_line' => ':6: @tab before @item

Modified: trunk/tp/t/results/plaintext_tests/at_commands_glued_in_example.pl
===================================================================
--- trunk/tp/t/results/plaintext_tests/at_commands_glued_in_example.pl  
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/plaintext_tests/at_commands_glued_in_example.pl  
2016-11-03 15:16:21 UTC (rev 7495)
@@ -763,6 +763,15 @@
 
 $result_errors{'at_commands_glued_in_example'} = [
   {
+    'error_line' => ':8: @ref reference to nonexistent node `Top\'
+',
+    'file_name' => '',
+    'line_nr' => 8,
+    'macro' => '',
+    'text' => '@ref reference to nonexistent node `Top\'',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':15: warning: @cindex should only appear at the beginning 
of a line
 ',
     'file_name' => '',
@@ -779,15 +788,6 @@
     'macro' => '',
     'text' => 'entry for index `cp\' outside of any node',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':8: @ref reference to nonexistent node `Top\'
-',
-    'file_name' => '',
-    'line_nr' => 8,
-    'macro' => '',
-    'text' => '@ref reference to nonexistent node `Top\'',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/plaintext_tests/at_commands_glued_in_paragraph.pl
===================================================================
--- trunk/tp/t/results/plaintext_tests/at_commands_glued_in_paragraph.pl        
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/plaintext_tests/at_commands_glued_in_paragraph.pl        
2016-11-03 15:16:21 UTC (rev 7495)
@@ -690,6 +690,15 @@
 
 $result_errors{'at_commands_glued_in_paragraph'} = [
   {
+    'error_line' => ':7: @ref reference to nonexistent node `Top\'
+',
+    'file_name' => '',
+    'line_nr' => 7,
+    'macro' => '',
+    'text' => '@ref reference to nonexistent node `Top\'',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':14: warning: @cindex should only appear at the beginning 
of a line
 ',
     'file_name' => '',
@@ -706,15 +715,6 @@
     'macro' => '',
     'text' => 'entry for index `cp\' outside of any node',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':7: @ref reference to nonexistent node `Top\'
-',
-    'file_name' => '',
-    'line_nr' => 7,
-    'macro' => '',
-    'text' => '@ref reference to nonexistent node `Top\'',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/plaintext_tests/itemize_in_headitem_in_example.pl
===================================================================
--- trunk/tp/t/results/plaintext_tests/itemize_in_headitem_in_example.pl        
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/plaintext_tests/itemize_in_headitem_in_example.pl        
2016-11-03 15:16:21 UTC (rev 7495)
@@ -800,22 +800,22 @@
 
 $result_errors{'itemize_in_headitem_in_example'} = [
   {
-    'error_line' => ':3: @headitem not meaningful inside address@hidden' block
+    'error_line' => ':2: warning: @itemize has text but no @item
 ',
     'file_name' => '',
-    'line_nr' => 3,
+    'line_nr' => 2,
     'macro' => '',
-    'text' => '@headitem not meaningful inside address@hidden' block',
-    'type' => 'error'
+    'text' => '@itemize has text but no @item',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':2: warning: @itemize has text but no @item
+    'error_line' => ':3: @headitem not meaningful inside address@hidden' block
 ',
     'file_name' => '',
-    'line_nr' => 2,
+    'line_nr' => 3,
     'macro' => '',
-    'text' => '@itemize has text but no @item',
-    'type' => 'warning'
+    'text' => '@headitem not meaningful inside address@hidden' block',
+    'type' => 'error'
   },
   {
     'error_line' => ':8: @headitem not meaningful inside address@hidden' block

Modified: trunk/tp/t/results/sectioning/double_node_anchor_float.pl
===================================================================
--- trunk/tp/t/results/sectioning/double_node_anchor_float.pl   2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/double_node_anchor_float.pl   2016-11-03 
15:16:21 UTC (rev 7495)
@@ -842,12 +842,12 @@
 
 $result_errors{'double_node_anchor_float'} = [
   {
-    'error_line' => ':3: @node `node1\' previously defined
+    'error_line' => ':1: here is the previous definition as @node
 ',
     'file_name' => '',
-    'line_nr' => 3,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@node `node1\' previously defined',
+    'text' => 'here is the previous definition as @node',
     'type' => 'error'
   },
   {
@@ -860,30 +860,30 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':5: @anchor `node1\' previously defined
+    'error_line' => ':1: here is the previous definition as @node
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@anchor `node1\' previously defined',
+    'text' => 'here is the previous definition as @node',
     'type' => 'error'
   },
   {
-    'error_line' => ':1: here is the previous definition as @node
+    'error_line' => ':3: @node `node1\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 3,
     'macro' => '',
-    'text' => 'here is the previous definition as @node',
+    'text' => '@node `node1\' previously defined',
     'type' => 'error'
   },
   {
-    'error_line' => ':9: @node `anchor1\' previously defined
+    'error_line' => ':5: @anchor `node1\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 5,
     'macro' => '',
-    'text' => '@node `anchor1\' previously defined',
+    'text' => '@anchor `node1\' previously defined',
     'type' => 'error'
   },
   {
@@ -896,24 +896,33 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':11: @float `node1\' previously defined
+    'error_line' => ':7: here is the previous definition as @anchor
 ',
     'file_name' => '',
-    'line_nr' => 11,
+    'line_nr' => 7,
     'macro' => '',
-    'text' => '@float `node1\' previously defined',
+    'text' => 'here is the previous definition as @anchor',
     'type' => 'error'
   },
   {
-    'error_line' => ':1: here is the previous definition as @node
+    'error_line' => ':9: @node `anchor1\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 9,
     'macro' => '',
-    'text' => 'here is the previous definition as @node',
+    'text' => '@node `anchor1\' previously defined',
     'type' => 'error'
   },
   {
+    'error_line' => ':11: @float `node1\' previously defined
+',
+    'file_name' => '',
+    'line_nr' => 11,
+    'macro' => '',
+    'text' => '@float `node1\' previously defined',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':14: @float `anchor1\' previously defined
 ',
     'file_name' => '',
@@ -923,12 +932,12 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':7: here is the previous definition as @anchor
+    'error_line' => ':17: here is the previous definition as @float
 ',
     'file_name' => '',
-    'line_nr' => 7,
+    'line_nr' => 17,
     'macro' => '',
-    'text' => 'here is the previous definition as @anchor',
+    'text' => 'here is the previous definition as @float',
     'type' => 'error'
   },
   {
@@ -939,15 +948,6 @@
     'macro' => '',
     'text' => '@node `float1\' previously defined',
     'type' => 'error'
-  },
-  {
-    'error_line' => ':17: here is the previous definition as @float
-',
-    'file_name' => '',
-    'line_nr' => 17,
-    'macro' => '',
-    'text' => 'here is the previous definition as @float',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/sectioning/double_top.pl
===================================================================
--- trunk/tp/t/results/sectioning/double_top.pl 2016-11-03 12:17:06 UTC (rev 
7494)
+++ trunk/tp/t/results/sectioning/double_top.pl 2016-11-03 15:16:21 UTC (rev 
7495)
@@ -295,12 +295,12 @@
 
 $result_errors{'double_top'} = [
   {
-    'error_line' => ':3: @node `top\' previously defined
+    'error_line' => ':1: here is the previous definition as @node
 ',
     'file_name' => '',
-    'line_nr' => 3,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@node `top\' previously defined',
+    'text' => 'here is the previous definition as @node',
     'type' => 'error'
   },
   {
@@ -313,31 +313,31 @@
     'type' => 'error'
   },
   {
-    'error_line' => ':5: @anchor `TOP\' previously defined
+    'error_line' => ':1: warning: Next pointer `top\' (for node `ToP\') 
different from node name `ToP\'
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@anchor `TOP\' previously defined',
-    'type' => 'error'
+    'text' => 'Next pointer `top\' (for node `ToP\') different from node name 
`ToP\'',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':1: here is the previous definition as @node
+    'error_line' => ':3: @node `top\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 3,
     'macro' => '',
-    'text' => 'here is the previous definition as @node',
+    'text' => '@node `top\' previously defined',
     'type' => 'error'
   },
   {
-    'error_line' => ':1: warning: Next pointer `top\' (for node `ToP\') 
different from node name `ToP\'
+    'error_line' => ':5: @anchor `TOP\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 5,
     'macro' => '',
-    'text' => 'Next pointer `top\' (for node `ToP\') different from node name 
`ToP\'',
-    'type' => 'warning'
+    'text' => '@anchor `TOP\' previously defined',
+    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/sectioning/double_top_in_menu.pl
===================================================================
--- trunk/tp/t/results/sectioning/double_top_in_menu.pl 2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/sectioning/double_top_in_menu.pl 2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -524,22 +524,22 @@
 
 $result_errors{'double_top_in_menu'} = [
   {
-    'error_line' => ':9: @node `top\' previously defined
+    'error_line' => ':1: here is the previous definition as @node
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@node `top\' previously defined',
+    'text' => 'here is the previous definition as @node',
     'type' => 'error'
   },
   {
-    'error_line' => ':1: here is the previous definition as @node
+    'error_line' => ':1: warning: Next pointer `top\' (for node `ToP\') 
different from node name `ToP\'
 ',
     'file_name' => '',
     'line_nr' => 1,
     'macro' => '',
-    'text' => 'here is the previous definition as @node',
-    'type' => 'error'
+    'text' => 'Next pointer `top\' (for node `ToP\') different from node name 
`ToP\'',
+    'type' => 'warning'
   },
   {
     'error_line' => ':5: warning: @menu entry node name `top\' different from 
node name `ToP\'
@@ -560,13 +560,13 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: Next pointer `top\' (for node `ToP\') 
different from node name `ToP\'
+    'error_line' => ':9: @node `top\' previously defined
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 9,
     'macro' => '',
-    'text' => 'Next pointer `top\' (for node `ToP\') different from node name 
`ToP\'',
-    'type' => 'warning'
+    'text' => '@node `top\' previously defined',
+    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/sectioning/equivalent_nodes.pl
===================================================================
--- trunk/tp/t/results/sectioning/equivalent_nodes.pl   2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/sectioning/equivalent_nodes.pl   2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -506,12 +506,12 @@
 
 $result_errors{'equivalent_nodes'} = [
   {
-    'error_line' => ':9: warning: @xref to `node\', different from node name 
address@hidden'
+    'error_line' => ':1: warning: Next pointer address@hidden' (for node 
`Top\') different from node name address@hidden'
 ',
     'file_name' => '',
-    'line_nr' => 9,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@xref to `node\', different from node name address@hidden'',
+    'text' => 'Next pointer address@hidden' (for node `Top\') different from 
node name address@hidden'',
     'type' => 'warning'
   },
   {
@@ -524,12 +524,12 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: Next pointer address@hidden' (for node 
`Top\') different from node name address@hidden'
+    'error_line' => ':9: warning: @xref to `node\', different from node name 
address@hidden'
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 9,
     'macro' => '',
-    'text' => 'Next pointer address@hidden' (for node `Top\') different from 
node name address@hidden'',
+    'text' => '@xref to `node\', different from node name address@hidden'',
     'type' => 'warning'
   }
 ];

Modified: trunk/tp/t/results/sectioning/lowered_subsubsection.pl
===================================================================
--- trunk/tp/t/results/sectioning/lowered_subsubsection.pl      2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/lowered_subsubsection.pl      2016-11-03 
15:16:21 UTC (rev 7495)
@@ -2206,6 +2206,15 @@
 
 $result_errors{'lowered_subsubsection'} = [
   {
+    'error_line' => ':22: node `Subsection\' lacks menu item for `Lowered 
subsubsection\' despite being its Up target
+',
+    'file_name' => '',
+    'line_nr' => 22,
+    'macro' => '',
+    'text' => 'node `Subsection\' lacks menu item for `Lowered subsubsection\' 
despite being its Up target',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':34: warning: node `Lowered subsubsection\' is next for 
`Lowered subsec\' in sectioning but not in menu
 ',
     'file_name' => '',
@@ -2231,15 +2240,6 @@
     'macro' => '',
     'text' => 'node up `Lowered subsubsection\' in menu `Lowered subsec\' and 
in sectioning `Subsection\' differ',
     'type' => 'warning'
-  },
-  {
-    'error_line' => ':22: node `Subsection\' lacks menu item for `Lowered 
subsubsection\' despite being its Up target
-',
-    'file_name' => '',
-    'line_nr' => 22,
-    'macro' => '',
-    'text' => 'node `Subsection\' lacks menu item for `Lowered subsubsection\' 
despite being its Up target',
-    'type' => 'error'
   }
 ];
 

Modified: trunk/tp/t/results/sectioning/menutextorder.pl
===================================================================
--- trunk/tp/t/results/sectioning/menutextorder.pl      2016-11-03 12:17:06 UTC 
(rev 7494)
+++ trunk/tp/t/results/sectioning/menutextorder.pl      2016-11-03 15:16:21 UTC 
(rev 7495)
@@ -1871,6 +1871,15 @@
     'type' => 'error'
   },
   {
+    'error_line' => ':6: node `bar\' lacks menu item for `onesub1\' despite 
being its Up target
+',
+    'file_name' => '',
+    'line_nr' => 6,
+    'macro' => '',
+    'text' => 'node `bar\' lacks menu item for `onesub1\' despite being its Up 
target',
+    'type' => 'error'
+  },
+  {
     'error_line' => ':13: warning: node `onesub2\' is next for `onesub1\' in 
sectioning but not in menu
 ',
     'file_name' => '',
@@ -1889,15 +1898,6 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':6: node `bar\' lacks menu item for `onesub1\' despite 
being its Up target
-',
-    'file_name' => '',
-    'line_nr' => 6,
-    'macro' => '',
-    'text' => 'node `bar\' lacks menu item for `onesub1\' despite being its Up 
target',
-    'type' => 'error'
-  },
-  {
     'error_line' => ':16: warning: node `onesub1\' is prev for `onesub2\' in 
sectioning but not in menu
 ',
     'file_name' => '',

Modified: trunk/tp/t/results/sectioning/no_element.pl
===================================================================
--- trunk/tp/t/results/sectioning/no_element.pl 2016-11-03 12:17:06 UTC (rev 
7494)
+++ trunk/tp/t/results/sectioning/no_element.pl 2016-11-03 15:16:21 UTC (rev 
7495)
@@ -1090,21 +1090,21 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':21: warning: @float outside of any node
+    'error_line' => ':15: warning: @anchor outside of any node
 ',
     'file_name' => '',
-    'line_nr' => 21,
+    'line_nr' => 15,
     'macro' => '',
-    'text' => '@float outside of any node',
+    'text' => '@anchor outside of any node',
     'type' => 'warning'
   },
   {
-    'error_line' => ':15: warning: @anchor outside of any node
+    'error_line' => ':21: warning: @float outside of any node
 ',
     'file_name' => '',
-    'line_nr' => 15,
+    'line_nr' => 21,
     'macro' => '',
-    'text' => '@anchor outside of any node',
+    'text' => '@float outside of any node',
     'type' => 'warning'
   }
 ];

Modified: trunk/tp/t/results/sectioning/node.pl
===================================================================
--- trunk/tp/t/results/sectioning/node.pl       2016-11-03 12:17:06 UTC (rev 
7494)
+++ trunk/tp/t/results/sectioning/node.pl       2016-11-03 15:16:21 UTC (rev 
7495)
@@ -862,15 +862,6 @@
 
 $result_errors{'node'} = [
   {
-    'error_line' => ':6: warning: superfluous arguments for node
-',
-    'file_name' => '',
-    'line_nr' => 6,
-    'macro' => '',
-    'text' => 'superfluous arguments for node',
-    'type' => 'warning'
-  },
-  {
     'error_line' => ':3: Next reference to nonexistent `two arg\'
 ',
     'file_name' => '',
@@ -925,6 +916,15 @@
     'type' => 'error'
   },
   {
+    'error_line' => ':6: warning: superfluous arguments for node
+',
+    'file_name' => '',
+    'line_nr' => 6,
+    'macro' => '',
+    'text' => 'superfluous arguments for node',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':6: Next reference to nonexistent `two arg\'
 ',
     'file_name' => '',

Modified: trunk/tp/t/results/sectioning/nodename_parentheses.pl
===================================================================
--- trunk/tp/t/results/sectioning/nodename_parentheses.pl       2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/nodename_parentheses.pl       2016-11-03 
15:16:21 UTC (rev 7495)
@@ -1311,31 +1311,31 @@
 
 $result_errors{'nodename_parentheses'} = [
   {
-    'error_line' => ':22: syntax for an external node used for `(manual)node\'
+    'error_line' => ':1: node `Top\' lacks menu item for `node\' despite being 
its Up target
 ',
     'file_name' => '',
-    'line_nr' => 22,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => 'syntax for an external node used for `(manual)node\'',
+    'text' => 'node `Top\' lacks menu item for `node\' despite being its Up 
target',
     'type' => 'error'
   },
   {
-    'error_line' => ':27: syntax for an external node used for 
`(manual)anchor\'
+    'error_line' => ':15: warning: node next `Other node\' in menu 
`(manual)node\' and in sectioning `node\' differ
 ',
     'file_name' => '',
-    'line_nr' => 27,
+    'line_nr' => 15,
     'macro' => '',
-    'text' => 'syntax for an external node used for `(manual)anchor\'',
-    'type' => 'error'
+    'text' => 'node next `Other node\' in menu `(manual)node\' and in 
sectioning `node\' differ',
+    'type' => 'warning'
   },
   {
-    'error_line' => ':15: warning: node next `Other node\' in menu 
`(manual)node\' and in sectioning `node\' differ
+    'error_line' => ':22: syntax for an external node used for `(manual)node\'
 ',
     'file_name' => '',
-    'line_nr' => 15,
+    'line_nr' => 22,
     'macro' => '',
-    'text' => 'node next `Other node\' in menu `(manual)node\' and in 
sectioning `node\' differ',
-    'type' => 'warning'
+    'text' => 'syntax for an external node used for `(manual)node\'',
+    'type' => 'error'
   },
   {
     'error_line' => ':22: warning: node `Other node\' is prev for `node\' in 
sectioning but not in menu
@@ -1356,12 +1356,12 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: node `Top\' lacks menu item for `node\' despite being 
its Up target
+    'error_line' => ':27: syntax for an external node used for 
`(manual)anchor\'
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 27,
     'macro' => '',
-    'text' => 'node `Top\' lacks menu item for `node\' despite being its Up 
target',
+    'text' => 'syntax for an external node used for `(manual)anchor\'',
     'type' => 'error'
   }
 ];

Modified: trunk/tp/t/results/sectioning/placed_things_before_element.pl
===================================================================
--- trunk/tp/t/results/sectioning/placed_things_before_element.pl       
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/placed_things_before_element.pl       
2016-11-03 15:16:21 UTC (rev 7495)
@@ -1209,21 +1209,21 @@
     'type' => 'warning'
   },
   {
-    'error_line' => ':17: warning: @float outside of any node
+    'error_line' => ':11: warning: @anchor outside of any node
 ',
     'file_name' => '',
-    'line_nr' => 17,
+    'line_nr' => 11,
     'macro' => '',
-    'text' => '@float outside of any node',
+    'text' => '@anchor outside of any node',
     'type' => 'warning'
   },
   {
-    'error_line' => ':11: warning: @anchor outside of any node
+    'error_line' => ':17: warning: @float outside of any node
 ',
     'file_name' => '',
-    'line_nr' => 11,
+    'line_nr' => 17,
     'macro' => '',
-    'text' => '@anchor outside of any node',
+    'text' => '@float outside of any node',
     'type' => 'warning'
   }
 ];

Modified: trunk/tp/t/results/sectioning/section_chapter_before_top_nodes.pl
===================================================================
--- trunk/tp/t/results/sectioning/section_chapter_before_top_nodes.pl   
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/section_chapter_before_top_nodes.pl   
2016-11-03 15:16:21 UTC (rev 7495)
@@ -890,39 +890,39 @@
 
 $result_errors{'section_chapter_before_top_nodes'} = [
   {
-    'error_line' => ':5: warning: lowering the section level of @chapter 
appearing after a lower element
+    'error_line' => ':1: warning: node `chapter node\' is up for `section 
node\' in menu but not in sectioning
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => 'lowering the section level of @chapter appearing after a lower 
element',
+    'text' => 'node `chapter node\' is up for `section node\' in menu but not 
in sectioning',
     'type' => 'warning'
   },
   {
-    'error_line' => ':12: warning: lowering the section level of @top 
appearing after a lower element
+    'error_line' => ':4: warning: node `Top\' is up for `chapter node\' in 
menu but not in sectioning
 ',
     'file_name' => '',
-    'line_nr' => 12,
+    'line_nr' => 4,
     'macro' => '',
-    'text' => 'lowering the section level of @top appearing after a lower 
element',
+    'text' => 'node `Top\' is up for `chapter node\' in menu but not in 
sectioning',
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: node `chapter node\' is up for `section 
node\' in menu but not in sectioning
+    'error_line' => ':5: warning: lowering the section level of @chapter 
appearing after a lower element
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 5,
     'macro' => '',
-    'text' => 'node `chapter node\' is up for `section node\' in menu but not 
in sectioning',
+    'text' => 'lowering the section level of @chapter appearing after a lower 
element',
     'type' => 'warning'
   },
   {
-    'error_line' => ':4: warning: node `Top\' is up for `chapter node\' in 
menu but not in sectioning
+    'error_line' => ':12: warning: lowering the section level of @top 
appearing after a lower element
 ',
     'file_name' => '',
-    'line_nr' => 4,
+    'line_nr' => 12,
     'macro' => '',
-    'text' => 'node `Top\' is up for `chapter node\' in menu but not in 
sectioning',
+    'text' => 'lowering the section level of @top appearing after a lower 
element',
     'type' => 'warning'
   }
 ];

Modified: trunk/tp/t/results/sectioning/top_node_no_menu_direction.pl
===================================================================
--- trunk/tp/t/results/sectioning/top_node_no_menu_direction.pl 2016-11-03 
12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/sectioning/top_node_no_menu_direction.pl 2016-11-03 
15:16:21 UTC (rev 7495)
@@ -500,21 +500,21 @@
 
 $result_errors{'top_node_no_menu_direction'} = [
   {
-    'error_line' => ':5: warning: @menu entry node name `TOP\' different from 
node name `Top\'
+    'error_line' => ':1: warning: for `Top\', up in menu `Top\' and up 
`(dir)\' don\'t match
 ',
     'file_name' => '',
-    'line_nr' => 5,
+    'line_nr' => 1,
     'macro' => '',
-    'text' => '@menu entry node name `TOP\' different from node name `Top\'',
+    'text' => 'for `Top\', up in menu `Top\' and up `(dir)\' don\'t match',
     'type' => 'warning'
   },
   {
-    'error_line' => ':1: warning: for `Top\', up in menu `Top\' and up 
`(dir)\' don\'t match
+    'error_line' => ':5: warning: @menu entry node name `TOP\' different from 
node name `Top\'
 ',
     'file_name' => '',
-    'line_nr' => 1,
+    'line_nr' => 5,
     'macro' => '',
-    'text' => 'for `Top\', up in menu `Top\' and up `(dir)\' don\'t match',
+    'text' => '@menu entry node name `TOP\' different from node name `Top\'',
     'type' => 'warning'
   },
   {

Modified: trunk/tp/t/results/xtable/invalid_command_and_brace_in_table.pl
===================================================================
--- trunk/tp/t/results/xtable/invalid_command_and_brace_in_table.pl     
2016-11-03 12:17:06 UTC (rev 7494)
+++ trunk/tp/t/results/xtable/invalid_command_and_brace_in_table.pl     
2016-11-03 15:16:21 UTC (rev 7495)
@@ -173,6 +173,15 @@
 
 $result_errors{'invalid_command_and_brace_in_table'} = [
   {
+    'error_line' => ':1: warning: @table has text but no @item
+',
+    'file_name' => '',
+    'line_nr' => 1,
+    'macro' => '',
+    'text' => '@table has text but no @item',
+    'type' => 'warning'
+  },
+  {
     'error_line' => ':2: misplaced {
 ',
     'file_name' => '',
@@ -198,15 +207,6 @@
     'macro' => '',
     'text' => 'misplaced }',
     'type' => 'error'
-  },
-  {
-    'error_line' => ':1: warning: @table has text but no @item
-',
-    'file_name' => '',
-    'line_nr' => 1,
-    'macro' => '',
-    'text' => '@table has text but no @item',
-    'type' => 'warning'
   }
 ];
 




reply via email to

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