diff options
| author | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 06:59:35 +0000 |
|---|---|---|
| committer | jvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-28 06:59:35 +0000 |
| commit | a264066fe2f4e01e239fca9563d069074b68c3e2 (patch) | |
| tree | 9ef75e19b3c4d08d3d0827bbc9833fe1ca072dc5 | |
| parent | 45b1fe5429e9f6a1747ebbec15d384bb5ff0ca60 (diff) | |
| download | ppe42-gcc-a264066fe2f4e01e239fca9563d069074b68c3e2.tar.gz ppe42-gcc-a264066fe2f4e01e239fca9563d069074b68c3e2.zip | |
2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/25419
* io/list_read.c (list_formatted_read_scalar): Allow comma to return a
null value (default).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109099 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
| -rw-r--r-- | libgfortran/io/list_read.c | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 02d38d95331..65be7e725c6 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2005-12-28 Jerry DeLisle <jvdelisle@gcc.gnu.org> + + PR libgfortran/25419 + * io/list_read.c (list_formatted_read_scalar): Allow comma to return a + null value (default). + 2005-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/25307 diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index 9784403a39c..b11f6a523ff 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@ -1353,10 +1353,7 @@ list_formatted_read_scalar (st_parameter_dt *dtp, bt type, void *p, int kind, { /* Found a null value. */ eat_separator (dtp); dtp->u.p.repeat_count = 0; - if (dtp->u.p.at_eol) - finish_separator (dtp); - else - goto cleanup; + goto cleanup; } } |

