re PR preprocessor/3571 (cpp -traditional inserts line breaks)
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 15 Sep 2001 18:16:01 +0000 (18:16 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 15 Sep 2001 18:16:01 +0000 (18:16 +0000)
PR preprocessor/3571
* tradcpp.c (handle_directive): Skip non-vertical space.

From-SVN: r45633

gcc/ChangeLog
gcc/tradcpp.c

index 9c4b755a439f19832d7012820b798f2fbdf685c7..1f89ff1bc67c918f8246ff49280f4d9ce5f91bd2 100644 (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
index 062d54e0e17bed816a029f63443fd1abc3ed6ca4..3ceeceffb958d9a3207ce92adeb637131155a997 100644 (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);
              }