OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 1992 19:01:26 +0000 (19:01 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jun 1992 19:01:26 +0000 (19:01 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1146 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-lex.c

index 95efad5..1344189 100644 (file)
@@ -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 '\\':