texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Transformations.pm (menu_to_simple_m


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Transformations.pm (menu_to_simple_menu): avoid a undefined value message.
Date: Tue, 27 Sep 2022 15:36:49 -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 41661f420a * tp/Texinfo/Transformations.pm (menu_to_simple_menu): 
avoid a undefined value message.
41661f420a is described below

commit 41661f420a18afa13afbf28fced9a628eddd87d8
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Sep 27 21:36:39 2022 +0200

    * tp/Texinfo/Transformations.pm (menu_to_simple_menu): avoid a
    undefined value message.
---
 ChangeLog                     | 5 +++++
 tp/Texinfo/Transformations.pm | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 7f8c55f31b..5c04315bff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-09-27  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Transformations.pm (menu_to_simple_menu): avoid a
+       undefined value message.
+
 2022-09-27  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/ParserNonXS.pm: check that autovivification does not
diff --git a/tp/Texinfo/Transformations.pm b/tp/Texinfo/Transformations.pm
index a426c3873f..eda5b5e20f 100644
--- a/tp/Texinfo/Transformations.pm
+++ b/tp/Texinfo/Transformations.pm
@@ -753,6 +753,7 @@ sub menu_to_simple_menu($)
         }
       }
     } elsif ($content->{'cmdname'}
+             and $Texinfo::Common::block_commands{$content->{'cmdname'}}
   and $Texinfo::Common::block_commands{$content->{'cmdname'}} eq 'menu') {
       menu_to_simple_menu($content);
       push @contents, $content;



reply via email to

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