From: Neil Booth Date: Wed, 30 May 2001 21:22:00 +0000 (+0000) Subject: cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments... X-Git-Tag: prereleases/libstdc++-3.0.95~4113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=932c1783cba722505ff9bfc3f7b53714bd25f7fc;p=thirdparty%2Fgcc.git cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments in preprocessed input. * cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments in preprocessed input. From-SVN: r42721 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 245fd6447520..30e91df77a37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-30 Neil Booth + + * 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 * cpphash.c (alloc_node): Cast allocated pointer. diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 3185accece0c..7424827228fc 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 == '*') {