cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments...
authorNeil Booth <neil@daikokuya.demon.co.uk>
Wed, 30 May 2001 21:22:00 +0000 (21:22 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Wed, 30 May 2001 21:22:00 +0000 (21:22 +0000)
* cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
so that we do accept comments in preprocessed input.

From-SVN: r42721

gcc/ChangeLog
gcc/cpplex.c

index 245fd64475202f6b0d3b5067c2e42a11a7a48ac0..30e91df77a377756da5300dda1faaae093cf0f71 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 3185accece0ce1f7df9b9564d511be2990ef71f4..7424827228fcc62ba697e4c0d52644c5c7e6398b 100644 (file)
@@ -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 == '*')
        {