aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorBud Davis <bdavis@gcc.gnu.org>2005-02-22 03:26:25 +0000
committerBud Davis <bdavis@gcc.gnu.org>2005-02-22 03:26:25 +0000
commitec88bf8bb7285cad65bda54ce3bd83b70e928fd6 (patch)
tree2a0bd2fe7642d2a15c70400a42dd9b742e469119 /libgfortran
parentf4294557b7ebb12ab58c9b57e1309d5f2fcfb019 (diff)
downloadgcc-ec88bf8bb7285cad65bda54ce3bd83b70e928fd6.zip
gcc-ec88bf8bb7285cad65bda54ce3bd83b70e928fd6.tar.gz
gcc-ec88bf8bb7285cad65bda54ce3bd83b70e928fd6.tar.bz2
[multiple changes]
2004-02-21 Bud Davis <bdavis@gfortran.org> PR fortran/20086 * io/transfer.c (write_constant_string): accept an 'h' as the start of a hollerith format string. 2005-02-21 Bud Davis <bdavis9659@comcast.net> PR fortran/20086 * gfortran.dg/pr20086.f90: New test. From-SVN: r95379
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/io/transfer.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 9c0561b..39b835d 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-21 Bud Davis <bdavis@gfortran.org>
+
+ PR fortran/20086
+ * io/transfer.c (write_constant_string): accept an 'h' as
+ the start of a hollerith format string.
+
2005-02-21 Eric Botcazou <ebotcazou@libertysurf.fr>
PR libfortran/19302
diff --git a/libgfortran/io/transfer.c b/libgfortran/io/transfer.c
index a55936f..0e4c619 100644
--- a/libgfortran/io/transfer.c
+++ b/libgfortran/io/transfer.c
@@ -386,7 +386,7 @@ write_constant_string (fnode * f)
for (; length > 0; length--)
{
c = *p++ = *q++;
- if (c == delimiter && c != 'H')
+ if (c == delimiter && c != 'H' && c != 'h')
q++; /* Skip the doubled delimiter. */
}
}