Commit a128ef19 by Richard Kenner

(handle_directive): Don't treat newline as white space when coalescing

white space around a backslash-newline.

From-SVN: r10519
parent a78e7bc4
...@@ -3938,11 +3938,11 @@ handle_directive (ip, op) ...@@ -3938,11 +3938,11 @@ handle_directive (ip, op)
if (*xp == '\n') { if (*xp == '\n') {
xp++; xp++;
cp--; cp--;
if (cp != buf && is_space[cp[-1]]) { if (cp != buf && is_hor_space[cp[-1]]) {
while (cp != buf && is_space[cp[-1]]) cp--; while (cp - 1 != buf && is_hor_space[cp[-2]])
cp++; cp--;
SKIP_WHITE_SPACE (xp); SKIP_WHITE_SPACE (xp);
} else if (is_space[*xp]) { } else if (is_hor_space[*xp]) {
*cp++ = *xp++; *cp++ = *xp++;
SKIP_WHITE_SPACE (xp); SKIP_WHITE_SPACE (xp);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment