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

white space around a backslash-newline.

From-SVN: r10519
This commit is contained in:
Richard Kenner 1995-10-26 18:08:01 -04:00
parent a78e7bc47f
commit a128ef196d
1 changed files with 4 additions and 4 deletions

View File

@ -3938,11 +3938,11 @@ handle_directive (ip, op)
if (*xp == '\n') {
xp++;
cp--;
if (cp != buf && is_space[cp[-1]]) {
while (cp != buf && is_space[cp[-1]]) cp--;
cp++;
if (cp != buf && is_hor_space[cp[-1]]) {
while (cp - 1 != buf && is_hor_space[cp[-2]])
cp--;
SKIP_WHITE_SPACE (xp);
} else if (is_space[*xp]) {
} else if (is_hor_space[*xp]) {
*cp++ = *xp++;
SKIP_WHITE_SPACE (xp);
}