Commit 27c37000 by Paul Brook Committed by Paul Brook

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
parent 004e09a3
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> 2005-08-04 Andrew Pinski <pinskia@physics.uc.edu>
* tree.h (fold_build1): Change to macro and call fold_build1_stat. * tree.h (fold_build1): Change to macro and call fold_build1_stat.
......
...@@ -991,7 +991,7 @@ read_quoted_string (FILE *infile) ...@@ -991,7 +991,7 @@ read_quoted_string (FILE *infile)
read_escape (infile); read_escape (infile);
continue; continue;
} }
else if (c == '"') else if (c == '"' || c == EOF)
break; break;
obstack_1grow (&string_obstack, c); obstack_1grow (&string_obstack, c);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment