aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplex.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cpplex.c')
-rw-r--r--gcc/cpplex.c4
1 files changed, 3 insertions, 1 deletions
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))