This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix PR 3571


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);
 	      }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]