]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR fortran/60148 (strings in NAMELIST do not honor DELIM= in open statement)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 21 Mar 2014 22:14:36 +0000 (22:14 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 21 Mar 2014 22:14:36 +0000 (22:14 +0000)
2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/60148
* gfortran.texi: Add description of namelist DELIM= behavior.

From-SVN: r208757

gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi

index 31353be2796c0f7705f81142676bb727218d41eb..ef330df9fda382660e5078947e873222f15419f7 100644 (file)
@@ -1,3 +1,8 @@
+2014-03-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR fortran/60148
+       * gfortran.texi: Add description of namelist DELIM= behavior.
+
 2014-03-19  Tobias Burnus  <burnus@net-b.>
 
        PR fortran/60543
index 7bab3e209ed9c76926ead6425478cd0bbf8e90a0..725ee8dfc4fe7f9212fcc7d9625eceadc278a246 100644 (file)
@@ -1494,6 +1494,12 @@ elements will be given the values 1.00 and 2.00.
 /
 @end smallexample
 
+When writing a namelist, if no @code{DELIM=} is specified, by default a
+double quote is used to delimit character strings. If -std=F95, F2003,
+or F2008, etc, the delim status is set to 'none'.  Defaulting to
+quotes ensures that namelists with character strings can be subsequently
+read back in accurately.
+
 @node X format descriptor without count field
 @subsection @code{X} format descriptor without count field