re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu> PR libfortran/60148 * io/transfer.c (data_transfer_init): If std= was specified, set delim status to DELIM_NONE of no other was specified. From-SVN: r208759
This commit is contained in:
parent
e6e2778862
commit
09e40ffe10
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-03-21 Jerry DeLisle <jvdelisle@gcc.gnu>
|
||||
|
||||
PR libfortran/60148
|
||||
* io/transfer.c (data_transfer_init): If std= was specified, set
|
||||
delim status to DELIM_NONE of no other was specified.
|
||||
|
||||
2014-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* configure.ac: Check for presence of fcntl.
|
||||
|
|
|
@ -2674,7 +2674,8 @@ data_transfer_init (st_parameter_dt *dtp, int read_flag)
|
|||
if (dtp->u.p.current_unit->delim_status == DELIM_UNSPECIFIED)
|
||||
{
|
||||
if (ionml && dtp->u.p.current_unit->flags.delim == DELIM_UNSPECIFIED)
|
||||
dtp->u.p.current_unit->delim_status = DELIM_QUOTE;
|
||||
dtp->u.p.current_unit->delim_status =
|
||||
compile_options.allow_std & GFC_STD_GNU ? DELIM_QUOTE : DELIM_NONE;
|
||||
else
|
||||
dtp->u.p.current_unit->delim_status = dtp->u.p.current_unit->flags.delim;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue