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/def.c (parse_def): do n


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/def.c (parse_def): do not increase the index in the esults array, such as to have the value at that index set.
Date: Mon, 27 Mar 2023 10:38:37 -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 b72e5970b2 * tp/Texinfo/XS/parsetexi/def.c (parse_def): do not 
increase the index in the esults array, such as to have the value at that index 
set.
b72e5970b2 is described below

commit b72e5970b2b7c5e0cb504e211149a6eeaa60ea6f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Mar 27 16:38:31 2023 +0200

    * tp/Texinfo/XS/parsetexi/def.c (parse_def): do not increase the
    index in the esults array, such as to have the value at that index
    set.
---
 ChangeLog                     | 6 ++++++
 tp/Texinfo/XS/parsetexi/def.c | 5 +----
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f3b638b82b..f9d680f64e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-27  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/parsetexi/def.c (parse_def): do not increase the
+       index in the esults array, such as to have the value at that index
+       set.
+
 2023-03-27  Patrice Dumas  <pertusus@free.fr>
 
        * tp/t/65linemacro.t, tp/Makefile.tres: add tests of @linemacro.
diff --git a/tp/Texinfo/XS/parsetexi/def.c b/tp/Texinfo/XS/parsetexi/def.c
index ed6753766b..e3a7bd20b6 100644
--- a/tp/Texinfo/XS/parsetexi/def.c
+++ b/tp/Texinfo/XS/parsetexi/def.c
@@ -445,10 +445,7 @@ parse_def (enum command_id command, ELEMENT *current)
           def_arg->element = e;
         }
       else
-        {
-          i++;
-          break;
-        }
+        break;
     }
 
   result[i] = 0;



reply via email to

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