re PR libfortran/25039 ([4.1 only] comma short-circuit field width)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 9 Dec 2005 02:53:41 +0000 (02:53 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 9 Dec 2005 02:53:41 +0000 (02:53 +0000)
commitb14c7e14ab82a292a7813f223f56dc2585cda238
tree5889deeb49a6f23a2237c4405b7a024084c89977
parent7691ec4e73c9b12b8216fe5181bf7bdc9c404eb3
re PR libfortran/25039 ([4.1 only] comma short-circuit field width)

2005-12-08  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/25039
* io/io.h: Create a new flag sf_read_comma to control comma
separators in numeric reads.
* io/transfer.c (formatted_transfer_scalar): Initialize the flag.
(read_sf): Check for commas coming in and if the flag is set,
shortcut the read.
* io/read.c (read_a) (read_x): Clear the flag for character reads and
reset it after the reads.

From-SVN: r108271
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/read.c
libgfortran/io/transfer.c