texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sun, 19 May 2024 16:23:15 -0400 (EDT)

branch: master
commit c120736a473dbce9f4b5ec289679380c9977aafc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun May 19 21:07:00 2024 +0200

    * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parser): check on keys
    independentely of values.
---
 ChangeLog                            | 5 +++++
 tp/Texinfo/XS/parsetexi/Parsetexi.pm | 6 ++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ab278987bb..508bd6c8e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-19  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parser): check on keys
+       independentely of values.
+
 2024-05-19  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/parsetexi/Parsetexi.pm (parser, parse_texi_piece)
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.pm 
b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
index 431614a508..5aac434ef0 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.pm
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.pm
@@ -142,8 +142,10 @@ sub parser (;$$)
         if (defined($conf->{$key})) {
           parser_set_locale_encoding($conf->{$key});
         }
-      } elsif ($key eq 'accept_internalvalue' and $conf->{$key}) {
-        parser_set_accept_internalvalue(1);
+      } elsif ($key eq 'accept_internalvalue') {
+        if ($conf->{$key}) {
+          parser_set_accept_internalvalue(1);
+        }
       } elsif ($key eq 'registrar' or $key eq 'COMMAND_LINE_ENCODING'
                or $key eq 'DEBUG') {
         # no action needed, already taken into account or only for Perl code



reply via email to

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