[Bug libfortran/37707] Namelist read of array of derived type incorrect
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Oct 19 15:41:00 GMT 2008
------- Comment #25 from jvdelisle at gcc dot gnu dot org 2008-10-19 15:39 -------
(In reply to comment #22)
default:
- dtp->u.p.nml_delim = '\0';
+ dtp->u.p.nml_delim = '"';
wouldn't it be easier/faster to simply remove the whole switch and use simply
dtp->u.p.nml_delim = '"';
without special cases for the current delim status?
Yes that would work, but I would like to allow users to use apostrophe if they
wish. How about this?
dtp->u.p.nml_delim = tmp_delim == DELIM_APOSTROPHE ? '\'' : '"';
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707
More information about the Gcc-bugs
mailing list