re PR libfortran/26136 (List directed input with underfilled (logicals) array read...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 1 Mar 2006 06:04:45 +0000 (06:04 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 1 Mar 2006 06:04:45 +0000 (06:04 +0000)
commitc9f15d9c0efac092136e6a02da3aafb5b38e3480
treef3786ec80f1921a30a225e9c53e69b461495199e
parentec09c26e3a5bbfe7536746c99e826417b2bf4bfe
re PR libfortran/26136 (List directed input with underfilled  (logicals) array read incorrectly)

2006-02-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/26136
* io/io.h: Add flag for reading from line_buffer.
* io/list_read.c (l_push_char): New function to save namelist
input when reading logicals.
(free_line): New function to free line_buffer memory.
(next_char): Added feature to read from line_buffer.
(read_logical): Use new functions to test for '=' after reading a
logical value, checking for possible variable name.
(namelist_read): Use free_line when all done.

From-SVN: r111597
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/list_read.c