From 932c1783cba722505ff9bfc3f7b53714bd25f7fc Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 30 May 2001 21:22:00 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/cpplex.c | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 245fd644752..30e91df77a3 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 3185accece0..7424827228f 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 == '*') { -- 2.30.2