aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/cpplex.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 245fd64..30e91df 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
+ * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
+ so that we do accept comments in preprocessed input.
+
+2001-05-30 Neil Booth <neil@daikokuya.demon.co.uk>
+
* cpphash.c (alloc_node): Cast allocated pointer.
2001-05-30 Gordon Sadler <gbsadler1@lcisp.com>
diff --git a/gcc/cpplex.c b/gcc/cpplex.c
index 3185acc..7424827 100644
--- a/gcc/cpplex.c
+++ b/gcc/cpplex.c
@@ -1001,8 +1001,6 @@ _cpp_lex_token (pfile, result)
ACCEPT_CHAR (CPP_DIV_EQ);
if (c != '/' && c != '*')
break;
- if (buffer->from_stage3)
- break;
if (c == '*')
{