[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Mon, 24 Jul 2023 17:50:17 -0400 (EDT) |
branch: master
commit b37a9fec3568cc7d8472af16afc6456be8480081
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jul 24 23:21:37 2023 +0200
* tp/Texinfo/XS/xspara.c (xspara__print_escaped_spaces): really
add this function (rename from print_escaped_spaces).
---
ChangeLog | 5 +++++
tp/Texinfo/XS/xspara.c | 7 ++++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index ed950d70ba..4ad9693f57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-07-24 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/xspara.c (xspara__print_escaped_spaces): really
+ add this function (rename from print_escaped_spaces).
+
2023-07-24 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/xspara.c (xspara__add_pending_word): reset
diff --git a/tp/Texinfo/XS/xspara.c b/tp/Texinfo/XS/xspara.c
index 2d3535ce32..5ca8260f8a 100644
--- a/tp/Texinfo/XS/xspara.c
+++ b/tp/Texinfo/XS/xspara.c
@@ -236,8 +236,9 @@ iswupper (wint_t wi)
#endif
+/* for debug */
char *
-print_escaped_spaces (char *string)
+xspara__print_escaped_spaces (char *string)
{
static TEXT t;
char *p = string;
@@ -921,7 +922,7 @@ xspara_add_text (char *text, int len)
word = state.word.text;
fprintf(stderr, "p (%d+%d) s `%s', w `%s'\n", state.counter,
state.word_counter, state.space.end == 0 ? ""
- : print_escaped_spaces (state.space.text),
+ : xspara__print_escaped_spaces (state.space.text),
word);
}
if (isspace ((unsigned char) *p))
@@ -934,7 +935,7 @@ xspara_add_text (char *text, int len)
t[0] = *p;
t[1] = '\0';
fprintf(stderr, "SPACES(%d) `%s'\n", state.counter,
- print_escaped_spaces (t));
+ xspara__print_escaped_spaces (t));
}
if (state.unfilled)