mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 19:10:13 +08:00
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:
parent
cc469ee98e
commit
e61fc951a5
@ -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.
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user