From e61fc951a52634dc106f21e55742f5214d726677 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Wed, 16 May 2001 09:38:47 +0000 Subject: 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 --- gcc/cpplex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/cpplex.c') diff --git a/gcc/cpplex.c b/gcc/cpplex.c index f25913f..a63b24f 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -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)) -- cgit v1.1