(create_definition): Allow carriage-return ('\r') as white space in
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 18 Nov 1994 23:53:39 +0000 (18:53 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 18 Nov 1994 23:53:39 +0000 (18:53 -0500)
simple or empty expansion.

From-SVN: r8513

gcc/cccp.c

index b33ae3af0c5e2f91b5058692f0b49187b6d06384..58a82363c2bc8b335dee3eec45fe7cbffca79163 100644 (file)
@@ -5429,9 +5429,9 @@ create_definition (buf, limit, op)
       {
        switch (*bp)
          {
-           case '\t': case ' ':
+           case '\t': case ' ': case '\r':
              /* Skip spaces and tabs.  */
-             while (++bp < limit && (*bp == ' ' || *bp == '\t'))
+             while (++bp < limit && (*bp == ' ' || *bp == '\t' || *bp == '\r'))
                continue;
              break;