cpplex.c (_cpp_lex_token, '/' case): Comments can't appear after stage3.

* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
	after stage3.

From-SVN: r42144
This commit is contained in:
Nathan Sidwell 2001-05-16 09:38:47 +00:00 committed by Nathan Sidwell
parent cc469ee98e
commit e61fc951a5
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-05-16 Nathan Sidwell <nathan@codesourcery.com>
* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
after stage3.
2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* README.ALTOS: Remove obsolete file.

View File

@ -1010,7 +1010,9 @@ _cpp_lex_token (pfile, result)
ACCEPT_CHAR (CPP_DIV_EQ);
if (c != '/' && c != '*')
break;
if (buffer->from_stage3)
break;
if (c == '*')
{
if (skip_block_comment (pfile))