From: Richard Stallman Date: Wed, 3 Jun 1992 19:01:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~12785 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80f5b9d8135c93cbec206a232bf78328752029da;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r1146 --- diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 95efad586bb1..13441894a976 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -922,9 +922,6 @@ yylex () while (1) switch (c) { - case '\r': - if (!flag_traditional) /* ANSI says no */ - goto found_nonwhite; case ' ': case '\t': case '\f': @@ -933,6 +930,9 @@ yylex () c = getc (finput); break; + case '\r': + /* Call skip_white_space so we can warn if appropriate. */ + case '\n': case '/': case '\\':