This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix PR 3571
- To: gcc-patches at gcc dot gnu dot org
- Subject: Fix PR 3571
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Sat, 15 Sep 2001 19:14:15 +0100
A silly tradcpp buglet. Tradcpp, ugh.
Neil.
PR preprocessor/3571
* tradcpp.c (handle_directive): Skip non-vertical space.
Index: tradcpp.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tradcpp.c,v
retrieving revision 1.38
diff -u -p -r1.38 tradcpp.c
--- tradcpp.c 2001/09/12 17:17:52 1.38
+++ tradcpp.c 2001/09/15 18:11:40
@@ -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);
}