texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Thu, 22 Feb 2024 17:38:21 -0500 (EST)

branch: master
commit 6ad27859fc42823c954b130887d5183e8ff46bf4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Feb 22 23:38:17 2024 +0100

    * tp/Texinfo/ParserNonXS.pm (_parse_texi), tp/Texinfo/Translations.pm
    (complete_indices), tp/Texinfo/XS/parsetexi/indices.c
    (complete_indices), tp/Texinfo/XS/parsetexi/parser.c (parse_texi):
    pass debug_level as complete_indices argument.  Set debug_level in C
    for complete_indices based on debug_output.
---
 tp/Texinfo/XS/main/translations.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/tp/Texinfo/XS/main/translations.c 
b/tp/Texinfo/XS/main/translations.c
index 88029d75b0..ecaf50900c 100644
--- a/tp/Texinfo/XS/main/translations.c
+++ b/tp/Texinfo/XS/main/translations.c
@@ -477,12 +477,6 @@ replace_convert_substrings (char *translated_string,
 
   document_descriptor = parse_string (texinfo_line, 1);
 
-  /* FIXME if called from parser through complete_indices, options will
-     not be set, but debug() would do the right thing.  debug() is not
-     right in general, though, as it uses parser internal data */
-  /*
-  debug ("IN TR PARSER '%s'", texinfo_line);
-   */
   if (debug_level > 0)
     fprintf (stderr, "XS|IN TR PARSER '%s'\n", texinfo_line);
 
@@ -517,9 +511,6 @@ replace_convert_substrings (char *translated_string,
     free (result_texi);
   }
 */
-   /*
-    debug("XS|RESULT GDT %d: '%s'\n", document_descriptor, result_texi);
-    */
 
   return document_descriptor;
 }



reply via email to

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