[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6797] eliminate // comments
From: |
Gavin D. Smith |
Subject: |
[6797] eliminate // comments |
Date: |
Sun, 22 Nov 2015 14:10:54 +0000 |
Revision: 6797
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6797
Author: gavin
Date: 2015-11-22 14:10:53 +0000 (Sun, 22 Nov 2015)
Log Message:
-----------
eliminate // comments
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Convert/XSParagraph/xspara.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-11-22 13:52:14 UTC (rev 6796)
+++ trunk/ChangeLog 2015-11-22 14:10:53 UTC (rev 6797)
@@ -1,5 +1,10 @@
2015-11-22 Gavin Smith <address@hidden>
+ * tp/Texinfo/Convert/XSParagraph/xspara.c: Change // comments
+ to /* ... */ style. Remove commented-out lines for debugging.
+
+2015-11-22 Gavin Smith <address@hidden>
+
* info/variables.c (info_variables): Rename
hl-ref-rendition to active-link-style,
ref-rendition to link-style,
Modified: trunk/tp/Texinfo/Convert/XSParagraph/xspara.c
===================================================================
--- trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2015-11-22 13:52:14 UTC
(rev 6796)
+++ trunk/tp/Texinfo/Convert/XSParagraph/xspara.c 2015-11-22 14:10:53 UTC
(rev 6797)
@@ -207,7 +207,6 @@
dTHX;
- //puts ("initializing XSParagraph");
if (setlocale (LC_CTYPE, "en_US.UTF-8")
|| setlocale (LC_CTYPE, "en_US.utf8"))
goto success;
@@ -268,8 +267,6 @@
free (state.space.text);
free (state.word.text);
- //fprintf (stderr, "PARAGRAPH\n");
-
/* Default values for formatter. */
memset (&state, 0, sizeof (state));
state.max = 72;
@@ -452,14 +449,12 @@
and ignore 'state.space', the pending space string. In this case
state.counter is probably 0. */
- //fprintf (stderr, "INDENT\n");
for (i = 0; i < state.indent_length - state.counter; i++)
text_append (result, " ");
state.counter = state.indent_length;
}
else if (state.space.end > 0)
{
- //fprintf (stderr, "ADD_SPACES\n");
text_append_n (result, state.space.text, state.space.end);
state.counter += state.space_counter;
@@ -469,7 +464,6 @@
if (state.word.end > 0 || state.invisible_pending_word)
{
- //fprintf (stderr, "ADD_WORD\n");
text_append_n (result, state.word.text, state.word.end);
state.counter += state.word_counter;
@@ -525,7 +519,6 @@
if (!word)
return;
- //printf ("LAST CHAR IS NOW %lc\n", (wchar_t) state.last_letter);
if (word_len >= 1 && word[word_len - 1] == '\b')
{
word[--word_len] = '\0';
@@ -713,7 +706,6 @@
&& state.space.end > 0
&& state.word.end == 0 && !state.invisible_pending_word)
{
- //fprintf (stderr, "SWITCH TO FRENCH SPACING\n");
while (state.space_counter < 2)
{
text_append_n (&state.space, " ", 1);
@@ -726,7 +718,6 @@
if (french_spacing != -1)
{
- //fprintf (stderr, "setting french sp\n");
state.french_spacing = french_spacing;
}
@@ -734,7 +725,6 @@
{
if (state.word.end == 0)
{
- //fprintf (stderr, "ADD INVISIBLE WORD\n");
/* In _add_pending_word this meant that an "empty word" would
be output. This makes "a @w{} b" -> "a b", not "a b", and
"a @w{}" at end of paragraph -> "a ", not "a". */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6797] eliminate // comments,
Gavin D. Smith <=