This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
brown paper bag bugfix
- To: gcc-patches at gcc dot gnu dot org
- Subject: brown paper bag bugfix
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Sun, 6 Feb 2000 12:08:17 -0800
Didn't test some of last night's changes as much as I should have. If
we hit this, the buffer wasn't nul-terminated, and collect_expansion
choked. It was a really marginal 'optimization' anyway.
zw
* cpplib.c (copy_rest_of_line): Revert previous change: don't
bail out early if we hit a line comment.
Index: cpplib.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cpplib.c,v
retrieving revision 1.106
diff -u -p -r1.106 cpplib.c
--- cpplib.c 2000/02/06 08:24:22 1.106
+++ cpplib.c 2000/02/06 20:06:49
@@ -478,8 +478,6 @@ copy_rest_of_line (pfile)
/* else fall through */
case '-':
c = skip_comment (pfile, c);
- if (c == ' ')
- return;
break;
case '\f':