texinfo-commits
[Top][All Lists]
Advanced

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

[7234] remove some commented-out code


From: gavinsmith0123
Subject: [7234] remove some commented-out code
Date: Sun, 19 Jun 2016 15:18:52 +0000 (UTC)

Revision: 7234
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7234
Author:   gavin
Date:     2016-06-19 15:18:52 +0000 (Sun, 19 Jun 2016)
Log Message:
-----------
remove some commented-out code

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-06-19 15:05:43 UTC (rev 7233)
+++ trunk/ChangeLog     2016-06-19 15:18:52 UTC (rev 7234)
@@ -1,5 +1,10 @@
 2016-06-19  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Parser.pm (_end_line, _parse_texi): Remove some 
+       commented-out code.
+
+2016-06-19  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Parser.pm (_parse_texi) <@value>: Don't handle 
        arrays or hashes as values any more.  These used to be used for 
        string translation.

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2016-06-19 15:05:43 UTC (rev 7233)
+++ trunk/tp/Texinfo/Parser.pm  2016-06-19 15:18:52 UTC (rev 7234)
@@ -2821,15 +2821,6 @@
         last if ($arg->[0] eq 'arg' or $arg->[0] eq 'typearg' 
                   or $arg->[0] eq 'delimiter');
         next if ($arg->[0] eq 'spaces');
-        # change of type is done in _parse_def.
-        #if ($arg->[1]->{'type'} and $arg->[1]->{'type'} eq 'bracketed') {
-        #  $def_parsed_hash->{$arg->[0]} = { 'contents' => 
$arg->[1]->{'contents'},
-        #                                    'type' => 'bracketed_def_content',
-        #                                    'parent' => 
$arg->[1]->{'parent'}};
-        #} else {
-        #  $def_parsed_hash->{$arg->[0]} = $arg->[1];
-        #}
-        #print STDERR "DEF PARSED HASH $arg->[0] 
$arg->[1]|".Texinfo::Convert::Texinfo::convert($arg->[1])."|\n";
         $def_parsed_hash->{$arg->[0]} = $arg->[1];
       }
       $current->{'parent'}->{'extra'}->{'def_parsed_hash'} = $def_parsed_hash;
@@ -5400,10 +5391,6 @@
           $current->{'remaining_args'}--;
           push @{$current->{'args'}},
                { 'type' => $type, 'parent' => $current, 'contents' => [] };
-          #if ($inline_commands{$current->{'cmdname'}} 
-          #    and ! $self->{'expanded_formats_stack'}->[-1]) {
-          #  $current->{'args'}->[-1]->{'extra'}->{'ignore'} = 1;
-          #} 
           $current = $current->{'args'}->[-1];
           push @{$current->{'contents'}}, 
                  {'type' => 'empty_spaces_before_argument',




reply via email to

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