diff mbox

[libgfortran] PR63460 namelist read from STDIN

Message ID 5431B65D.8040309@charter.net
State New
Headers show

Commit Message

Jerry DeLisle Oct. 5, 2014, 9:21 p.m. UTC
Committed as obvious.  Missed it on my earlier patch.

2014-10-05  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/63460
	* io/unit.c (init_units): Initialize the DELIM flag to
	UNSPECIFIED for the STDIN unit so that the flag is
	correctly set later.

r215908
diff mbox

Patch

Index: unit.c
===================================================================
--- unit.c	(revision 215870)
+++ unit.c	(working copy)
@@ -580,6 +580,7 @@  init_units (void)
        u->flags.position = POSITION_ASIS;
        u->flags.sign = SIGN_SUPPRESS;
        u->flags.decimal = DECIMAL_POINT;
+      u->flags.delim = DECIMAL_UNSPECIFIED;
        u->flags.encoding = ENCODING_DEFAULT;
        u->flags.async = ASYNC_NO;
        u->flags.round = ROUND_UNSPECIFIED;