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/Parsetexi.xs: use # com


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/parsetexi/Parsetexi.xs: use # comments, not C comments.
Date: Fri, 28 Jul 2023 06:06:35 -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 69d96eaecc * tp/Texinfo/XS/parsetexi/Parsetexi.xs: use # comments, not 
C comments.
69d96eaecc is described below

commit 69d96eaecc6be1af0d395e47c4732dad293cc4d6
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jul 28 12:06:24 2023 +0200

    * tp/Texinfo/XS/parsetexi/Parsetexi.xs: use # comments, not C
    comments.
---
 ChangeLog                            |  5 +++++
 tp/Texinfo/XS/parsetexi/Parsetexi.xs | 24 ++++++++++++------------
 2 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 905a5cc7d0..d0d39a363c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-28  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/parsetexi/Parsetexi.xs: use # comments, not C
+       comments.
+
 2023-07-28  Patrice Dumas  <pertusus@free.fr>
 
        Set 'no utf8' in texi2any as we substitute file names in byte strings
diff --git a/tp/Texinfo/XS/parsetexi/Parsetexi.xs 
b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
index f5da471379..538f546a03 100644
--- a/tp/Texinfo/XS/parsetexi/Parsetexi.xs
+++ b/tp/Texinfo/XS/parsetexi/Parsetexi.xs
@@ -39,16 +39,16 @@ MODULE = Texinfo::Parser    PACKAGE = Texinfo::Parser
 
 PROTOTYPES: ENABLE
 
-/* Except for file paths, strings should be UTF-8 encoded.
-   In the declarations below, a comment shows that input string
-   is a file path, other input strings should be UTF-8 encoded.
-
-   There is no need for the parser to know the file paths
-   encodings, they are never decoded/encoded but used as is
-   and passed as byte strings.
- */
-
-/* FIXME file path? */
+# Except for file paths, strings should be UTF-8 encoded.
+# In the declarations below, a comment shows that input string
+# is a file path, other input strings should be UTF-8 encoded.
+#
+# There is no need for the parser to know the file paths
+# encodings, they are never decoded/encoded but used as is
+# and passed as byte strings.
+
+# Called from Texinfo::XSLoader.pm.  The arguments are not actually used
+# file path, can be in any encoding
 int
 init (texinfo_uninstalled, srcdir)
      int texinfo_uninstalled
@@ -57,7 +57,7 @@ init (texinfo_uninstalled, srcdir)
 void
 wipe_errors ()
 
-/* file path, can be in any encoding */
+# file path, can be in any encoding
 int
 parse_file(filename)
         char *filename = (char *)SvPVbyte_nolen($arg);
@@ -91,7 +91,7 @@ reset_context_stack ()
 void
 init_index_commands ()
 
-/* file path, can be in any encoding */
+# file path, can be in any encoding
 void
 add_include_directory (filename)
         char *filename = (char *)SvPVbyte_nolen($arg);



reply via email to

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