read-rtl.c (read_quoted_string): Break if EOF.

2005-08-04  Paul Brook  <paul@codesourcery.com>

	* read-rtl.c (read_quoted_string): Break if EOF.

From-SVN: r102749
This commit is contained in:
Paul Brook 2005-08-04 23:31:00 +00:00 committed by Paul Brook
parent 004e09a35a
commit 27c370005e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-08-04 Paul Brook <paul@codesourcery.com>
* read-rtl.c (read_quoted_string): Break if EOF.
2005-08-04 Andrew Pinski <pinskia@physics.uc.edu>
* tree.h (fold_build1): Change to macro and call fold_build1_stat.

View File

@ -991,7 +991,7 @@ read_quoted_string (FILE *infile)
read_escape (infile);
continue;
}
else if (c == '"')
else if (c == '"' || c == EOF)
break;
obstack_1grow (&string_obstack, c);