texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line)


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line) (_parse_line_command_args), tp/Texinfo/XS/parsetexi/end_line.c (parse_line_command_args, end_line_misc_line): remove {'extra'}->{'missing_argument'} from tree.
Date: Sun, 22 Oct 2023 12:47:21 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new cbc8a2d561 * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line) 
(_parse_line_command_args), tp/Texinfo/XS/parsetexi/end_line.c 
(parse_line_command_args, end_line_misc_line): remove 
{'extra'}->{'missing_argument'} from tree.
cbc8a2d561 is described below

commit cbc8a2d56120a5dec4b3bcd3b505f22a44ed686a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 22 18:47:21 2023 +0200

    * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line)
    (_parse_line_command_args), tp/Texinfo/XS/parsetexi/end_line.c
    (parse_line_command_args, end_line_misc_line): remove
    {'extra'}->{'missing_argument'} from tree.
---
 ChangeLog                                              |  7 +++++++
 tp/Texinfo/ParserNonXS.pm                              | 11 +----------
 tp/Texinfo/XS/parsetexi/end_line.c                     |  3 ---
 tp/t/results/columnfractions/empty.pl                  |  3 ---
 tp/t/results/columnfractions/empty_comment.pl          |  3 ---
 tp/t/results/coverage/command_in_end.pl                |  3 ---
 .../coverage/command_in_end_expanded_raw_in_command.pl |  3 ---
 tp/t/results/indices/empty_added_index_entry.pl        |  3 ---
 tp/t/results/indices/empty_cindex_entry.pl             |  3 ---
 tp/t/results/indices/index_special_region.pl           |  6 ------
 .../indices/index_special_region_no_insertcopying.pl   |  6 ------
 ...al_region_no_insertcopying_no_titlepage_no_nodes.pl |  6 ------
 ...ecial_region_no_insertcopying_titlepage_no_nodes.pl |  6 ------
 ...sertcopying_titlepage_no_nodes_footnotes_default.pl |  6 ------
 .../index_special_region_no_titlepage_no_nodes.pl      |  6 ------
 .../indices/index_special_region_titlepage_no_nodes.pl |  6 ------
 ...cial_region_titlepage_no_nodes_footnotes_default.pl |  6 ------
 tp/t/results/indices/sorted_subentries.pl              |  4 +---
 tp/t/results/info_tests/space_in_setfilename.pl        |  3 ---
 tp/t/results/invalid_nestings/center.pl                |  3 ---
 .../macro/macro_with_error_at_end_line_after_macro.pl  |  3 ---
 .../codequoteundirected_codequotebacktick.pl           | 18 ------------------
 .../command_not_closed_in_documentencoding.pl          |  3 ---
 tp/t/results/misc_commands/empty_center.pl             |  3 ---
 tp/t/results/misc_commands/empty_documentencoding.pl   |  3 ---
 tp/t/results/misc_commands/setfilename.pl              |  3 ---
 tp/t/results/sectioning/two_unnumbered_no_argument.pl  | 10 ++--------
 tp/t/results/sectioning/unnumbered_no_argument.pl      |  5 +----
 tp/t/results/xtable/empty_item_itemx.pl                |  6 ------
 29 files changed, 12 insertions(+), 139 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2d8643f33a..f872f99085 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-22  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/ParserNonXS.pm (_end_line_misc_line)
+       (_parse_line_command_args), tp/Texinfo/XS/parsetexi/end_line.c
+       (parse_line_command_args, end_line_misc_line): remove
+       {'extra'}->{'missing_argument'} from tree.
+
 2023-10-22  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/DocBook.pm (output), tp/Texinfo/Convert/LaTeX.pm
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index a9c188149b..7aafb825e0 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -3428,15 +3428,14 @@ sub _end_line_misc_line($$$)
     my ($text, $superfluous_arg)
       = _text_contents_to_plain_text($current->{'args'}->[0]);
 
-    $current->{'extra'} = {} if (!$current->{'extra'});
     if ($text eq '') {
       if (not $superfluous_arg) {
         $self->_command_warn($current, $source_info,
                              __("\@%s missing argument"), $command);
       }
       # if there is superfluous arg, a more suitable error is issued below.
-      $current->{'extra'}->{'missing_argument'} = 1;
     } else {
+      $current->{'extra'} = {} if (!$current->{'extra'});
       $current->{'extra'}->{'text_arg'} = $text;
       if ($command eq 'end') {
         # REMACRO
@@ -3630,8 +3629,6 @@ sub _end_line_misc_line($$$)
     if (!$current->{'args'}->[0]->{'contents'} and $command ne 'top') {
       $self->_command_warn($current, $source_info,
              __("\@%s missing argument"), $command);
-      $current->{'extra'} = {} if (!$current->{'extra'});
-      $current->{'extra'}->{'missing_argument'} = 1;
     } else {
       if (($command eq 'item' or $command eq 'itemx')
           and $current->{'parent'}->{'cmdname'}
@@ -7510,8 +7507,6 @@ sub _parse_line_command_args($$$)
   if (!$arg->{'contents'}) {
     $self->_command_error($line_command, $source_info,
                __("\@%s missing argument"), $command);
-    $line_command->{'extra'} = {} if (!$line_command->{'extra'});
-    $line_command->{'extra'}->{'missing_argument'} = 1;
     return undef;
   }
 
@@ -8605,10 +8600,6 @@ An array holding strings, the arguments of @-commands 
taking simple
 textual arguments as arguments, like C<@everyheadingmarks>,
 C<@frenchspacing>, C<@alias>, C<@synindex>, C<@columnfractions>.
 
-=item missing_argument
-
-Set for some @-commands with line arguments and a missing argument.
-
 =item text_arg
 
 The string correspond to the line after the @-command for @-commands
diff --git a/tp/Texinfo/XS/parsetexi/end_line.c 
b/tp/Texinfo/XS/parsetexi/end_line.c
index 1c871212b6..54f5880625 100644
--- a/tp/Texinfo/XS/parsetexi/end_line.c
+++ b/tp/Texinfo/XS/parsetexi/end_line.c
@@ -113,7 +113,6 @@ parse_line_command_args (ELEMENT *line_command)
   if (arg->contents.number == 0)
    {
      command_error (line_command, "@%s missing argument", command_name(cmd));
-     add_extra_integer (line_command, "missing_argument", 1);
      return 0;
    }
 
@@ -1210,7 +1209,6 @@ end_line_misc_line (ELEMENT *current)
         {
           if (!superfluous_arg)
             line_warn ("@%s missing argument", command_name(cmd));
-          add_extra_integer (current, "missing_argument", 1);
           free (text);
         }
       else
@@ -1546,7 +1544,6 @@ end_line_misc_line (ELEMENT *current)
         {
           command_warn (current, "@%s missing argument", 
                         command_name(current->cmd));
-          add_extra_integer (current, "missing_argument", 1);
         }
       else
         {
diff --git a/tp/t/results/columnfractions/empty.pl 
b/tp/t/results/columnfractions/empty.pl
index 29e5c64831..dc54311242 100644
--- a/tp/t/results/columnfractions/empty.pl
+++ b/tp/t/results/columnfractions/empty.pl
@@ -26,9 +26,6 @@ $result_trees{'empty'} = {
                     }
                   ],
                   'cmdname' => 'columnfractions',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 1,
diff --git a/tp/t/results/columnfractions/empty_comment.pl 
b/tp/t/results/columnfractions/empty_comment.pl
index 2bd2cee880..0c531476ce 100644
--- a/tp/t/results/columnfractions/empty_comment.pl
+++ b/tp/t/results/columnfractions/empty_comment.pl
@@ -32,9 +32,6 @@ $result_trees{'empty_comment'} = {
                     }
                   ],
                   'cmdname' => 'columnfractions',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'info' => {
                     'spaces_before_argument' => {
                       'text' => ' '
diff --git a/tp/t/results/coverage/command_in_end.pl 
b/tp/t/results/coverage/command_in_end.pl
index 2b0c69dbf8..7be67737ad 100644
--- a/tp/t/results/coverage/command_in_end.pl
+++ b/tp/t/results/coverage/command_in_end.pl
@@ -62,9 +62,6 @@ $result_trees{'command_in_end'} = {
                     }
                   ],
                   'cmdname' => 'end',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'info' => {
                     'spaces_before_argument' => {
                       'text' => ' '
diff --git a/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl 
b/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl
index 72e8ea441e..216db5a06e 100644
--- a/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl
+++ b/tp/t/results/coverage/command_in_end_expanded_raw_in_command.pl
@@ -62,9 +62,6 @@ $result_trees{'command_in_end_expanded_raw_in_command'} = {
                     }
                   ],
                   'cmdname' => 'end',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'info' => {
                     'spaces_before_argument' => {
                       'text' => ' '
diff --git a/tp/t/results/indices/empty_added_index_entry.pl 
b/tp/t/results/indices/empty_added_index_entry.pl
index 58280f651a..25a5fc4ef9 100644
--- a/tp/t/results/indices/empty_added_index_entry.pl
+++ b/tp/t/results/indices/empty_added_index_entry.pl
@@ -126,9 +126,6 @@ $result_trees{'empty_added_index_entry'} = {
             }
           ],
           'cmdname' => 'myindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'myindex'
           },
diff --git a/tp/t/results/indices/empty_cindex_entry.pl 
b/tp/t/results/indices/empty_cindex_entry.pl
index c89aa765ab..707c80265e 100644
--- a/tp/t/results/indices/empty_cindex_entry.pl
+++ b/tp/t/results/indices/empty_cindex_entry.pl
@@ -80,9 +80,6 @@ $result_trees{'empty_cindex_entry'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
diff --git a/tp/t/results/indices/index_special_region.pl 
b/tp/t/results/indices/index_special_region.pl
index 5d7d171414..0a7b8342cd 100644
--- a/tp/t/results/indices/index_special_region.pl
+++ b/tp/t/results/indices/index_special_region.pl
@@ -795,9 +795,6 @@ $result_trees{'index_special_region'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1051,9 +1048,6 @@ $result_trees{'index_special_region'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 'index_special_region.texi',
                         'line_nr' => 51,
diff --git a/tp/t/results/indices/index_special_region_no_insertcopying.pl 
b/tp/t/results/indices/index_special_region_no_insertcopying.pl
index 67d5c90b6f..4d13e8e7b3 100644
--- a/tp/t/results/indices/index_special_region_no_insertcopying.pl
+++ b/tp/t/results/indices/index_special_region_no_insertcopying.pl
@@ -790,9 +790,6 @@ $result_trees{'index_special_region_no_insertcopying'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1046,9 +1043,6 @@ $result_trees{'index_special_region_no_insertcopying'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 
'index_special_region_no_insertcopying.texi',
                         'line_nr' => 51,
diff --git 
a/tp/t/results/indices/index_special_region_no_insertcopying_no_titlepage_no_nodes.pl
 
b/tp/t/results/indices/index_special_region_no_insertcopying_no_titlepage_no_nodes.pl
index 80a4d181ee..1f9e5a8fa5 100644
--- 
a/tp/t/results/indices/index_special_region_no_insertcopying_no_titlepage_no_nodes.pl
+++ 
b/tp/t/results/indices/index_special_region_no_insertcopying_no_titlepage_no_nodes.pl
@@ -790,9 +790,6 @@ 
$result_trees{'index_special_region_no_insertcopying_no_titlepage_no_nodes'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1046,9 +1043,6 @@ 
$result_trees{'index_special_region_no_insertcopying_no_titlepage_no_nodes'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 
'index_special_region_no_insertcopying.texi',
                         'line_nr' => 51,
diff --git 
a/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes.pl
 
b/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes.pl
index 3372635c5f..be3c313a39 100644
--- 
a/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes.pl
+++ 
b/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes.pl
@@ -790,9 +790,6 @@ 
$result_trees{'index_special_region_no_insertcopying_titlepage_no_nodes'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1046,9 +1043,6 @@ 
$result_trees{'index_special_region_no_insertcopying_titlepage_no_nodes'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 
'index_special_region_no_insertcopying.texi',
                         'line_nr' => 51,
diff --git 
a/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes_footnotes_default.pl
 
b/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes_footnotes_default.pl
index 5e06749766..96dc6d638b 100644
--- 
a/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes_footnotes_default.pl
+++ 
b/tp/t/results/indices/index_special_region_no_insertcopying_titlepage_no_nodes_footnotes_default.pl
@@ -790,9 +790,6 @@ 
$result_trees{'index_special_region_no_insertcopying_titlepage_no_nodes_footnote
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1046,9 +1043,6 @@ 
$result_trees{'index_special_region_no_insertcopying_titlepage_no_nodes_footnote
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 
'index_special_region_no_insertcopying.texi',
                         'line_nr' => 51,
diff --git a/tp/t/results/indices/index_special_region_no_titlepage_no_nodes.pl 
b/tp/t/results/indices/index_special_region_no_titlepage_no_nodes.pl
index 7afe5eea5d..e1566cd140 100644
--- a/tp/t/results/indices/index_special_region_no_titlepage_no_nodes.pl
+++ b/tp/t/results/indices/index_special_region_no_titlepage_no_nodes.pl
@@ -795,9 +795,6 @@ $result_trees{'index_special_region_no_titlepage_no_nodes'} 
= {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1051,9 +1048,6 @@ 
$result_trees{'index_special_region_no_titlepage_no_nodes'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 'index_special_region.texi',
                         'line_nr' => 51,
diff --git a/tp/t/results/indices/index_special_region_titlepage_no_nodes.pl 
b/tp/t/results/indices/index_special_region_titlepage_no_nodes.pl
index 0aff6ab633..3400f9fbd8 100644
--- a/tp/t/results/indices/index_special_region_titlepage_no_nodes.pl
+++ b/tp/t/results/indices/index_special_region_titlepage_no_nodes.pl
@@ -795,9 +795,6 @@ $result_trees{'index_special_region_titlepage_no_nodes'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1051,9 +1048,6 @@ $result_trees{'index_special_region_titlepage_no_nodes'} 
= {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 'index_special_region.texi',
                         'line_nr' => 51,
diff --git 
a/tp/t/results/indices/index_special_region_titlepage_no_nodes_footnotes_default.pl
 
b/tp/t/results/indices/index_special_region_titlepage_no_nodes_footnotes_default.pl
index 49c03538dd..bd326f590b 100644
--- 
a/tp/t/results/indices/index_special_region_titlepage_no_nodes_footnotes_default.pl
+++ 
b/tp/t/results/indices/index_special_region_titlepage_no_nodes_footnotes_default.pl
@@ -795,9 +795,6 @@ 
$result_trees{'index_special_region_titlepage_no_nodes_footnotes_default'} = {
             }
           ],
           'cmdname' => 'cindex',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'command_name' => 'cindex'
           },
@@ -1051,9 +1048,6 @@ 
$result_trees{'index_special_region_titlepage_no_nodes_footnotes_default'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => 'index_special_region.texi',
                         'line_nr' => 51,
diff --git a/tp/t/results/indices/sorted_subentries.pl 
b/tp/t/results/indices/sorted_subentries.pl
index b92449d840..db3823e9e4 100644
--- a/tp/t/results/indices/sorted_subentries.pl
+++ b/tp/t/results/indices/sorted_subentries.pl
@@ -734,8 +734,7 @@ $result_trees{'sorted_subentries'} = {
               ],
               'cmdname' => 'subentry',
               'extra' => {
-                'level' => 1,
-                'missing_argument' => 1
+                'level' => 1
               },
               'source_info' => {
                 'file_name' => '',
@@ -1391,7 +1390,6 @@ $result_trees{'sorted_subentries'} = {
           ],
           'cmdname' => 'cindex',
           'extra' => {
-            'missing_argument' => 1,
             'subentry' => {
               'args' => [
                 {
diff --git a/tp/t/results/info_tests/space_in_setfilename.pl 
b/tp/t/results/info_tests/space_in_setfilename.pl
index 333974f09e..700ceac9ee 100644
--- a/tp/t/results/info_tests/space_in_setfilename.pl
+++ b/tp/t/results/info_tests/space_in_setfilename.pl
@@ -52,9 +52,6 @@ $result_trees{'space_in_setfilename'} = {
             }
           ],
           'cmdname' => 'setfilename',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'spaces_before_argument' => {
               'text' => ' '
diff --git a/tp/t/results/invalid_nestings/center.pl 
b/tp/t/results/invalid_nestings/center.pl
index 991295b76b..a284617eb4 100644
--- a/tp/t/results/invalid_nestings/center.pl
+++ b/tp/t/results/invalid_nestings/center.pl
@@ -782,9 +782,6 @@ $result_trees{'center'} = {
                     }
                   ],
                   'cmdname' => 'center',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 31,
diff --git a/tp/t/results/macro/macro_with_error_at_end_line_after_macro.pl 
b/tp/t/results/macro/macro_with_error_at_end_line_after_macro.pl
index fe23cc8da1..e909613931 100644
--- a/tp/t/results/macro/macro_with_error_at_end_line_after_macro.pl
+++ b/tp/t/results/macro/macro_with_error_at_end_line_after_macro.pl
@@ -119,9 +119,6 @@ $result_trees{'macro_with_error_at_end_line_after_macro'} = 
{
             }
           ],
           'cmdname' => 'center',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'source_info' => {
             'file_name' => '',
             'line_nr' => 5,
diff --git 
a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl 
b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
index 9a348e5fef..ff7f5e117b 100644
--- a/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
+++ b/tp/t/results/misc_commands/codequoteundirected_codequotebacktick.pl
@@ -639,9 +639,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
                     }
                   ],
                   'cmdname' => 'codequoteundirected',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 31,
@@ -661,9 +658,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
                     }
                   ],
                   'cmdname' => 'codequotebacktick',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 31,
@@ -2015,9 +2009,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
             }
           ],
           'cmdname' => 'codequoteundirected',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'source_info' => {
             'file_name' => '',
             'line_nr' => 45,
@@ -2037,9 +2028,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
             }
           ],
           'cmdname' => 'codequotebacktick',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'source_info' => {
             'file_name' => '',
             'line_nr' => 45,
@@ -3151,9 +3139,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
                     }
                   ],
                   'cmdname' => 'codequoteundirected',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 48,
@@ -3173,9 +3158,6 @@ $result_trees{'codequoteundirected_codequotebacktick'} = {
                     }
                   ],
                   'cmdname' => 'codequotebacktick',
-                  'extra' => {
-                    'missing_argument' => 1
-                  },
                   'source_info' => {
                     'file_name' => '',
                     'line_nr' => 48,
diff --git 
a/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl 
b/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl
index efd897c3f9..eff55e2edd 100644
--- a/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl
+++ b/tp/t/results/misc_commands/command_not_closed_in_documentencoding.pl
@@ -31,9 +31,6 @@ $result_trees{'command_not_closed_in_documentencoding'} = {
             }
           ],
           'cmdname' => 'documentencoding',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'info' => {
             'spaces_before_argument' => {
               'text' => ' '
diff --git a/tp/t/results/misc_commands/empty_center.pl 
b/tp/t/results/misc_commands/empty_center.pl
index 6e1d87ea51..9eca221e36 100644
--- a/tp/t/results/misc_commands/empty_center.pl
+++ b/tp/t/results/misc_commands/empty_center.pl
@@ -22,9 +22,6 @@ $result_trees{'empty_center'} = {
             }
           ],
           'cmdname' => 'center',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'source_info' => {
             'file_name' => '',
             'line_nr' => 1,
diff --git a/tp/t/results/misc_commands/empty_documentencoding.pl 
b/tp/t/results/misc_commands/empty_documentencoding.pl
index 5ba949db86..dca9b489d7 100644
--- a/tp/t/results/misc_commands/empty_documentencoding.pl
+++ b/tp/t/results/misc_commands/empty_documentencoding.pl
@@ -22,9 +22,6 @@ $result_trees{'empty_documentencoding'} = {
             }
           ],
           'cmdname' => 'documentencoding',
-          'extra' => {
-            'missing_argument' => 1
-          },
           'source_info' => {
             'file_name' => '',
             'line_nr' => 1,
diff --git a/tp/t/results/misc_commands/setfilename.pl 
b/tp/t/results/misc_commands/setfilename.pl
index 5f5c43b3d6..19b4307164 100644
--- a/tp/t/results/misc_commands/setfilename.pl
+++ b/tp/t/results/misc_commands/setfilename.pl
@@ -165,9 +165,6 @@ $result_trees{'setfilename'} = {
                 }
               ],
               'cmdname' => 'setfilename',
-              'extra' => {
-                'missing_argument' => 1
-              },
               'info' => {
                 'spaces_before_argument' => {
                   'text' => ' '
diff --git a/tp/t/results/sectioning/two_unnumbered_no_argument.pl 
b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
index 25481221cd..a14f57df51 100644
--- a/tp/t/results/sectioning/two_unnumbered_no_argument.pl
+++ b/tp/t/results/sectioning/two_unnumbered_no_argument.pl
@@ -28,9 +28,7 @@ $result_trees{'two_unnumbered_no_argument'} = {
         }
       ],
       'cmdname' => 'unnumbered',
-      'extra' => {
-        'missing_argument' => 1
-      },
+      'extra' => {},
       'source_info' => {
         'file_name' => '',
         'line_nr' => 1,
@@ -50,9 +48,7 @@ $result_trees{'two_unnumbered_no_argument'} = {
         }
       ],
       'cmdname' => 'unnumbered',
-      'extra' => {
-        'missing_argument' => 1
-      },
+      'extra' => {},
       'source_info' => {
         'file_name' => '',
         'line_nr' => 2,
@@ -76,7 +72,6 @@ $result_sectioning{'two_unnumbered_no_argument'} = {
       {
         'cmdname' => 'unnumbered',
         'extra' => {
-          'missing_argument' => 1,
           'section_directions' => {},
           'section_level' => 1,
           'sectioning_root' => {},
@@ -86,7 +81,6 @@ $result_sectioning{'two_unnumbered_no_argument'} = {
       {
         'cmdname' => 'unnumbered',
         'extra' => {
-          'missing_argument' => 1,
           'section_directions' => {
             'prev' => {}
           },
diff --git a/tp/t/results/sectioning/unnumbered_no_argument.pl 
b/tp/t/results/sectioning/unnumbered_no_argument.pl
index 4420fdd18b..eacb90eadd 100644
--- a/tp/t/results/sectioning/unnumbered_no_argument.pl
+++ b/tp/t/results/sectioning/unnumbered_no_argument.pl
@@ -23,9 +23,7 @@ $result_trees{'unnumbered_no_argument'} = {
         }
       ],
       'cmdname' => 'unnumbered',
-      'extra' => {
-        'missing_argument' => 1
-      },
+      'extra' => {},
       'source_info' => {
         'file_name' => '',
         'line_nr' => 1,
@@ -48,7 +46,6 @@ $result_sectioning{'unnumbered_no_argument'} = {
       {
         'cmdname' => 'unnumbered',
         'extra' => {
-          'missing_argument' => 1,
           'section_level' => 1,
           'sectioning_root' => {}
         }
diff --git a/tp/t/results/xtable/empty_item_itemx.pl 
b/tp/t/results/xtable/empty_item_itemx.pl
index 4f9e562baa..38741d4f7d 100644
--- a/tp/t/results/xtable/empty_item_itemx.pl
+++ b/tp/t/results/xtable/empty_item_itemx.pl
@@ -110,9 +110,6 @@ $result_trees{'empty_item_itemx'} = {
                         }
                       ],
                       'cmdname' => 'itemx',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => '',
                         'line_nr' => 6,
@@ -177,9 +174,6 @@ $result_trees{'empty_item_itemx'} = {
                         }
                       ],
                       'cmdname' => 'item',
-                      'extra' => {
-                        'missing_argument' => 1
-                      },
                       'source_info' => {
                         'file_name' => '',
                         'line_nr' => 8,



reply via email to

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