diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-05-30 21:22:00 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-05-30 21:22:00 +0000 |
commit | 932c1783cba722505ff9bfc3f7b53714bd25f7fc (patch) | |
tree | 72bfcd8c58fd0e1872c6ed608759c737a9e73fb8 /gcc | |
parent | f278806b976e638c29307598c496f59b1047f4fa (diff) | |
download | gcc-932c1783cba722505ff9bfc3f7b53714bd25f7fc.zip gcc-932c1783cba722505ff9bfc3f7b53714bd25f7fc.tar.gz gcc-932c1783cba722505ff9bfc3f7b53714bd25f7fc.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cpplex.c | 2 |
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 == '*') { |