From: Jerry DeLisle Date: Fri, 28 Sep 2007 02:57:41 +0000 (+0000) Subject: re PR libfortran/33421 (Weird quotation of namelist output of character arrays) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a1e025540621bba8dd8d64085b58dbac118d48a;p=gcc.git re PR libfortran/33421 (Weird quotation of namelist output of character arrays) 2007-09-27 Jerry DeLisle PR libfortran/33421 * io/list_read.c (read_character): Revert r128057. From-SVN: r128857 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 7452bb66780..aba6b2e58f6 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2007-09-27 Jerry DeLisle + + PR libfortran/33421 + * io/list_read.c (read_character): Revert r128057. + 2007-09-21 Bernhard Fischer PR fortran/31546 diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index 0b4b8456996..b97130b7708 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@ -887,9 +887,7 @@ read_character (st_parameter_dt *dtp, int length __attribute__ ((unused))) goto get_string; default: - if (dtp->u.p.namelist_mode - && (dtp->u.p.current_unit->flags.delim == DELIM_APOSTROPHE - || dtp->u.p.current_unit->flags.delim == DELIM_QUOTE)) + if (dtp->u.p.namelist_mode) { unget_char (dtp,c); return;