aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/io.h
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-11-17 13:46:57 +0100
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-11-17 12:46:57 +0000
commit1c2e7a3ab332ecb47b606ce2400672eb6065e45f (patch)
treeb4222529fc4abf9ab78757cfd41d5b3ec666c05d /libgfortran/io/io.h
parent0bc52d42a8a8c376f9d13a9ea1d5739b6dc3a195 (diff)
downloadgcc-1c2e7a3ab332ecb47b606ce2400672eb6065e45f.zip
gcc-1c2e7a3ab332ecb47b606ce2400672eb6065e45f.tar.gz
gcc-1c2e7a3ab332ecb47b606ce2400672eb6065e45f.tar.bz2
re PR libfortran/24892 (ACCESS argument to the OPEN statement)
PR fortran/24892 * io/io.h (unit_access): Add ACCESS_APPEND. * io/open.c (access_opt): Add APPEND value for ACCESS keyword. (st_open): Use that new value to set the POSITION accordingly. * gfortran.dg/open_access_append_1.f90: New test. * gfortran.dg/open_access_append_2.f90: New test. From-SVN: r107119
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r--libgfortran/io/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index e262677..47a564f 100644
--- a/libgfortran/io/io.h
+++ b/libgfortran/io/io.h
@@ -153,7 +153,7 @@ namelist_info;
/* Options for the OPEN statement. */
typedef enum
-{ ACCESS_SEQUENTIAL, ACCESS_DIRECT,
+{ ACCESS_SEQUENTIAL, ACCESS_DIRECT, ACCESS_APPEND,
ACCESS_UNSPECIFIED
}
unit_access;