diff options
author | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-06-14 04:30:48 +0000 |
---|---|---|
committer | Jerry DeLisle <jvdelisle@gcc.gnu.org> | 2008-06-14 04:30:48 +0000 |
commit | a82094b70d6f3cb24d06b0bae873a848a18185f5 (patch) | |
tree | 8561a50cb7c7c5f8937028d2e6e5b53fbcb35b9a | |
parent | 4b8cb94c75369959bf369c9129c03a0976cec984 (diff) | |
download | gcc-a82094b70d6f3cb24d06b0bae873a848a18185f5.zip gcc-a82094b70d6f3cb24d06b0bae873a848a18185f5.tar.gz gcc-a82094b70d6f3cb24d06b0bae873a848a18185f5.tar.bz2 |
re PR libfortran/36538 (namelist failure with tabs preceding object name)
2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/36538
* io/list_read.c (namelist_read): Add eat_separator to eliminate leading
tabs.
From-SVN: r136776
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/io/list_read.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 28f1c0a..0966d48 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,5 +1,11 @@ 2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> + PR fortran/36538 + * io/list_read.c (namelist_read): Add eat_separator to eliminate leading + tabs. + +2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org> + PR fortran/35863 * libgfortran.h: Change l8_to_l4_offset to big_endian and add endian_off. * runtime/main.c: Fix error in comment. Change l8_to_l4_offset to diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index c99e3a8..01e118f 100644 --- a/libgfortran/io/list_read.c +++ b/libgfortran/io/list_read.c @@ -2922,6 +2922,8 @@ find_nml_name: goto find_nml_name; } + eat_separator (dtp); + /* Ready to read namelist objects. If there is an error in input from stdin, output the error message and continue. */ |