aboutsummaryrefslogtreecommitdiff
path: root/gcc/read-rtl.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-08-04 23:31:00 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2005-08-04 23:31:00 +0000
commit27c370005e6ffd8dc7e96ba94382264aa9e36978 (patch)
treefd3d5b22e619352bda677c734fa7e3a51300573c /gcc/read-rtl.c
parent004e09a35a30dca732f646d34fc9f54560f6d6a7 (diff)
downloadgcc-27c370005e6ffd8dc7e96ba94382264aa9e36978.zip
gcc-27c370005e6ffd8dc7e96ba94382264aa9e36978.tar.gz
gcc-27c370005e6ffd8dc7e96ba94382264aa9e36978.tar.bz2
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
Diffstat (limited to 'gcc/read-rtl.c')
-rw-r--r--gcc/read-rtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/read-rtl.c b/gcc/read-rtl.c
index 2835c26..79f4050 100644
--- a/gcc/read-rtl.c
+++ b/gcc/read-rtl.c
@@ -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);