re PR libfortran/36538 (namelist failure with tabs preceding object name)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 14 Jun 2008 04:30:48 +0000 (04:30 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 14 Jun 2008 04:30:48 +0000 (04:30 +0000)
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

libgfortran/ChangeLog
libgfortran/io/list_read.c

index 28f1c0a..0966d48 100644 (file)
@@ -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
index c99e3a8..01e118f 100644 (file)
@@ -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.  */