aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/read.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2018-03-28 13:59:06 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2018-03-28 13:59:06 +0200
commit7ee4f6f3ec4c51221a8fc44f98f5da4c95f779ae (patch)
treeae5de4e2be1e263ebdf5ccaeda1ee67d7c62326b /libgfortran/io/read.c
parent5b1a758d26d594569fbf2ca1381fa27ec416fd23 (diff)
downloadgcc-7ee4f6f3ec4c51221a8fc44f98f5da4c95f779ae.zip
gcc-7ee4f6f3ec4c51221a8fc44f98f5da4c95f779ae.tar.gz
gcc-7ee4f6f3ec4c51221a8fc44f98f5da4c95f779ae.tar.bz2
gfortran.h (gfc_dt): Rename default_exp field to dec_ext.
* gfortran.h (gfc_dt): Rename default_exp field to dec_ext. * ioparm.def (IOPARM_dt_default_exp): Rename to ... (IOPARM_dt_dec_ext): ... this. * trans-io.c (build_dt): Adjust for default_exp renaming to dec_ext and IOPARM_dt_default_exp renaming to IOPARM_dt_dec_ext. * io.c (match_io): Likewise. * io/io.h (IOPARM_DT_DEFAULT_EXP): Rename to ... (IOPARM_DT_DEC_EXT): ... this. * io/list_read.c (parse_real): Adjust for IOPARM_DT_DEFAULT_EXP renaming to IOPARM_DT_DEC_EXT. (read_real): Likewise. * io/read.c (read_f): Likewise. From-SVN: r258920
Diffstat (limited to 'libgfortran/io/read.c')
-rw-r--r--libgfortran/io/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c
index 87adfb8..976020a 100644
--- a/libgfortran/io/read.c
+++ b/libgfortran/io/read.c
@@ -1093,7 +1093,7 @@ exponent:
if (w == 0)
{
/* Extension: allow default exponent of 0 when omitted. */
- if (dtp->common.flags & IOPARM_DT_DEFAULT_EXP)
+ if (dtp->common.flags & IOPARM_DT_DEC_EXT)
goto done;
else
goto bad_float;