texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * info/scan.c (scan_reference_target) <menu entry


From: Gavin D. Smith
Subject: branch master updated: * info/scan.c (scan_reference_target) <menu entry>: Canonicalize whitespace in to avoid anomaly where texi2any would not warn about menu entry even though it didn't work. From Patrice.
Date: Wed, 17 Aug 2022 16:15:28 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new cb7cbb16d1 * info/scan.c (scan_reference_target) <menu entry>: 
Canonicalize whitespace in to avoid anomaly where texi2any would not warn about 
menu entry even though it didn't work. From Patrice.
cb7cbb16d1 is described below

commit cb7cbb16d179d038a7d0540ed14b1ae2531be261
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Aug 17 21:15:04 2022 +0100

    * info/scan.c (scan_reference_target) <menu entry>:
    Canonicalize whitespace in to avoid anomaly where texi2any
    would not warn about menu entry even though it didn't work.
    From Patrice.
---
 ChangeLog   | 7 +++++++
 info/scan.c | 1 +
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 6021791394..adf6eb4b35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-08-17  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * info/scan.c (scan_reference_target) <menu entry>:
+       Canonicalize whitespace in to avoid anomaly where texi2any
+       would not warn about menu entry even though it didn't work.
+       From Patrice.
+
 2022-08-17  Patrice Dumas  <pertusus@free.fr>
 
        Transform @* to spaces in node and menu lines in Info
diff --git a/info/scan.c b/info/scan.c
index e14641b3a4..f59fbb9ce8 100644
--- a/info/scan.c
+++ b/info/scan.c
@@ -1298,6 +1298,7 @@ scan_reference_target (REFERENCE *entry, NODE *node, int 
in_parentheses)
                                     &entry->nodename);
       if (inptr[length] == '.') /* A '.' terminating the entry. */
         length++;
+      canonicalize_whitespace (entry->nodename);
 
       if (node->flags & N_IsDir)
         {



reply via email to

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