re PR preprocessor/3571 (cpp -traditional inserts line breaks)

PR preprocessor/3571
	* tradcpp.c (handle_directive): Skip non-vertical space.

From-SVN: r45633
This commit is contained in:
Neil Booth 2001-09-15 18:16:01 +00:00 committed by Neil Booth
parent f0581dc714
commit 69e47210d9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
PR preprocessor/3571
* tradcpp.c (handle_directive): Skip non-vertical space.
2001-09-15 Neil Booth <neil@daikokuya.demon.co.uk>
* cppmain.c (setup_callbacks): Set line callback only

View File

@ -2075,7 +2075,7 @@ handle_directive (ip, op)
while (cp != buf && is_space(cp[-1])) cp--;
cp++;
SKIP_WHITE_SPACE (xp);
} else if (is_space (*xp)) {
} else if (is_nvspace (*xp)) {
*cp++ = *xp++;
SKIP_WHITE_SPACE (xp);
}