texinfo-commits
[Top][All Lists]
Advanced

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

[7548] parsetexi update


From: gavinsmith0123
Subject: [7548] parsetexi update
Date: Sun, 11 Dec 2016 10:51:04 +0000 (UTC)

Revision: 7548
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7548
Author:   gavin
Date:     2016-12-11 10:51:04 +0000 (Sun, 11 Dec 2016)
Log Message:
-----------
parsetexi update

Modified Paths:
--------------
    trunk/tp/parsetexi/Parsetexi.pm

Modified: trunk/tp/parsetexi/Parsetexi.pm
===================================================================
--- trunk/tp/parsetexi/Parsetexi.pm     2016-12-10 18:04:07 UTC (rev 7547)
+++ trunk/tp/parsetexi/Parsetexi.pm     2016-12-11 10:51:04 UTC (rev 7548)
@@ -454,7 +454,7 @@
 {
   my $self = shift;
 
-  if (!%{$self->{'labels'}}
+  if (!defined $self->{'labels'}
        and defined $self->{'targets'}) {
     my %labels = ();
     for my $target (@{$self->{'targets'}}) {
@@ -513,6 +513,7 @@
       }
     }
     $self->{'labels'} = \%labels;
+    delete $self->{'targets'};
   }
   return $self->{'labels'};
 }




reply via email to

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