mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-25 22:04:07 +08:00
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:
parent
f0581dc714
commit
69e47210d9
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user