* read-rtl.c (read_name): Consider \r whitespace.

From-SVN: r44556
This commit is contained in:
Richard Henderson 2001-08-01 13:49:24 -07:00 committed by Richard Henderson
parent 41ae4ee667
commit b38b083acf
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-08-01 Richard Henderson <rth@redhat.com>
* read-rtl.c (read_name): Consider \r whitespace.
2001-07-11 Andrew Cagney <ac131313@redhat.com>
* config.gcc: Recognize powerpc-*-netbsd*.

View File

@ -174,7 +174,7 @@ read_name (str, infile)
p = str;
while (1)
{
if (c == ' ' || c == '\n' || c == '\t' || c == '\f')
if (c == ' ' || c == '\n' || c == '\t' || c == '\f' || c == '\r')
break;
if (c == ':' || c == ')' || c == ']' || c == '"' || c == '/'
|| c == '(' || c == '[')