aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/io.c
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2015-05-16 17:44:15 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2015-05-16 17:44:15 +0000
commitc55bbc72ffaabcab433cdcce28ba69d21c35e21c (patch)
tree089860d1f3693f3bf8a29396280847bd59157cb2 /gcc/fortran/io.c
parent7e8655412c7e9438f76e417f055db2505133a949 (diff)
downloadgcc-c55bbc72ffaabcab433cdcce28ba69d21c35e21c.zip
gcc-c55bbc72ffaabcab433cdcce28ba69d21c35e21c.tar.gz
gcc-c55bbc72ffaabcab433cdcce28ba69d21c35e21c.tar.bz2
re PR fortran/65903 (Line continuation followed by comment character in string fails to compile)
2015-05-16 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/65903 * io.c (format_lex): Change to NONSTRING when checking for possible doubled quote. * scanner.c (gfc_next_char_literal): Revert change from 64506 and add a check for quotes and return. From-SVN: r223248
Diffstat (limited to 'gcc/fortran/io.c')
-rw-r--r--gcc/fortran/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c
index 7ba6b09..82a0a87 100644
--- a/gcc/fortran/io.c
+++ b/gcc/fortran/io.c
@@ -385,7 +385,7 @@ format_lex (void)
if (c == delim)
{
- c = next_char (INSTRING_NOWARN);
+ c = next_char (NONSTRING);
if (c == '\0')
{