From a82094b70d6f3cb24d06b0bae873a848a18185f5 Mon Sep 17 00:00:00 2001 From: Jerry DeLisle Date: Sat, 14 Jun 2008 04:30:48 +0000 Subject: [PATCH] re PR libfortran/36538 (namelist failure with tabs preceding object name) 2008-06-13 Jerry DeLisle PR fortran/36538 * io/list_read.c (namelist_read): Add eat_separator to eliminate leading tabs. From-SVN: r136776 --- libgfortran/ChangeLog | 6 ++++++ libgfortran/io/list_read.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 28f1c0ae9b5..0966d487457 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2008-06-13 Jerry DeLisle + + PR fortran/36538 + * io/list_read.c (namelist_read): Add eat_separator to eliminate leading + tabs. + 2008-06-13 Jerry DeLisle PR fortran/35863 diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c index c99e3a8c23b..01e118f5f48 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. */ -- 2.30.2