texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/XS/parsetexi/parser.c (process_remai


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line): use lookup_info instead of lookup_extra_string, as the information needed is in info and not extra and there is no corresponding function. Revert the recent change.
Date: Sun, 29 Oct 2023 04:56:27 -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 26f2c3e36a * tp/Texinfo/XS/parsetexi/parser.c 
(process_remaining_on_line): use lookup_info instead of lookup_extra_string, as 
the information needed is in info and not extra and there is no corresponding 
function. Revert the recent change.
26f2c3e36a is described below

commit 26f2c3e36a48674f301da031eb42ed1f5b35a35f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 29 09:56:29 2023 +0100

    * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line): use
    lookup_info instead of lookup_extra_string, as the information needed
    is in info and not extra and there is no corresponding function.
    Revert the recent change.
---
 ChangeLog                        | 7 +++++++
 tp/Texinfo/XS/parsetexi/parser.c | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index f02dbc2d2b..2a9da93737 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2023-10-29  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/parsetexi/parser.c (process_remaining_on_line): use
+       lookup_info instead of lookup_extra_string, as the information needed
+       is in info and not extra and there is no corresponding function.
+       Revert the recent change.
+
 2023-10-29  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/parsetexi/parser.c: inline and remove
diff --git a/tp/Texinfo/XS/parsetexi/parser.c b/tp/Texinfo/XS/parsetexi/parser.c
index 47c262ff93..b0e172ab36 100644
--- a/tp/Texinfo/XS/parsetexi/parser.c
+++ b/tp/Texinfo/XS/parsetexi/parser.c
@@ -1596,7 +1596,8 @@ process_remaining_on_line (ELEMENT **current_inout, char 
**line_inout)
     {
       char *q;
 
-      char *delimiter = lookup_extra_string (current->parent, "delimiter");
+      KEY_PAIR *k_delimiter = lookup_info (current->parent, "delimiter");
+      char *delimiter = (char *)k_delimiter->value;
 
       if (strcmp (delimiter, ""))
         {



reply via email to

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