PR preprocessor/3571
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Sep 2001 18:16:01 +0000 (18:16 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Sep 2001 18:16:01 +0000 (18:16 +0000)
* tradcpp.c (handle_directive): Skip non-vertical space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45633 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tradcpp.c

index 9c4b755..1f89ff1 100644 (file)
@@ -1,5 +1,10 @@
 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
        if outputting preprocessed source.
 
index 062d54e..3ceecef 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);
              }