texinfo-commits
[Top][All Lists]
Advanced

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

[8274] no GLOBAL_COMMANDS conf array


From: gavinsmith0123
Subject: [8274] no GLOBAL_COMMANDS conf array
Date: Sat, 13 Oct 2018 04:53:22 -0400 (EDT)

Revision: 8274
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8274
Author:   gavin
Date:     2018-10-13 04:53:22 -0400 (Sat, 13 Oct 2018)
Log Message:
-----------
no GLOBAL_COMMANDS conf array

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Parser.pm

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2018-10-13 08:18:07 UTC (rev 8273)
+++ trunk/ChangeLog     2018-10-13 08:53:22 UTC (rev 8274)
@@ -1,5 +1,11 @@
 2018-10-13  Gavin Smith  <address@hidden>
+       
+       * tp/Texinfo/Parser.pm (%default_customization_values): Remove
+       'GLOBAL_COMMANDS' array as it is not used anywhere.
+       (_setup_parser): Do not access 'GLOBAL_COMMANDS' conf value.
 
+2018-10-13  Gavin Smith  <address@hidden>
+
        * tp/Makefile.am: List files under tp/t/include_reference.
        * tp/maintain/regenerate_file_lists.pl: Do not automatically 
        generate a list of these files.

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2018-10-13 08:18:07 UTC (rev 8273)
+++ trunk/tp/Texinfo/Parser.pm  2018-10-13 08:53:22 UTC (rev 8274)
@@ -128,7 +128,6 @@
                               # case
   'CPP_LINE_DIRECTIVES' => 1, # handle cpp like synchronization lines
   'MAX_MACRO_CALL_NESTING' => 100000, # max number of nested macro calls
-  'GLOBAL_COMMANDS' => [],    # list of commands registered 
   # This is not used directly, but passed to Convert::Text through 
   # Texinfo::Common::_convert_text_options
   'ENABLE_ENCODING' => 1,     # output accented and special characters
@@ -686,10 +685,6 @@
 
   %{$parser->{'global_commands'}} = %global_multiple_commands;
 
-  foreach my $global_command (@{$parser->{'GLOBAL_COMMANDS'}}) {
-    $parser->{'global_commands'}->{$global_command} = 1;
-  }
-
   $parser->Texinfo::Report::new;
 
   return $parser;
@@ -5852,12 +5847,6 @@
 An array reference of the output formats for which C<@ifI<FORMAT>> 
 conditional blocks should be expanded.  Default is empty.
 
-=item GLOBAL_COMMANDS
-
-The associated value is a reference on an array.  All the commands in the
-array are collected during parsing.  They are afterwards available 
-through L<global_informations|/$info = global_informations($parser)>.
-
 =item include_directories
 
 An array reference of directories in which C<@include> files should be 




reply via email to

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