texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Fri, 10 May 2024 18:43:10 -0400 (EDT)

branch: master
commit a5a93cc4a9a9cc6758852b9cf493ea3696f7e6de
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat May 11 00:43:07 2024 +0200

    * tp/Texinfo/XS/main/tree_types.h: remove now unused DEF_ARG.
---
 ChangeLog                       | 4 ++++
 tp/Texinfo/ParserNonXS.pm       | 1 -
 tp/Texinfo/XS/main/tree_types.h | 5 -----
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 50d9a55a36..220058ef75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-05-10  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/tree_types.h: remove now unused DEF_ARG.
+
 2024-05-10  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/parsetexi/def.c (DEF_MAP, parse_def),
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 0415d3f98a..0bedec156c 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -3356,7 +3356,6 @@ sub _parse_def($$$$)
       $element->{'parent'} = $new_def_type;
       $current->{'contents'}->[$contents_idx - 1] = $new_def_type;
 
-      #$result{$args[$i]} = $element;
       $result{$args[$i]} = $new_def_type;
     } else {
       last;
diff --git a/tp/Texinfo/XS/main/tree_types.h b/tp/Texinfo/XS/main/tree_types.h
index 8b99f13215..77481da2bf 100644
--- a/tp/Texinfo/XS/main/tree_types.h
+++ b/tp/Texinfo/XS/main/tree_types.h
@@ -272,11 +272,6 @@ typedef struct {
     ELEMENT **out_of_tree_elements;
 } NODE_SPEC_EXTRA;
 
-typedef struct {
-    char *arg_type;
-    ELEMENT *element;
-} DEF_ARG;
-
 typedef struct {
     size_t label_number;
     const char *identifier;



reply via email to

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