OSDN Git Service

2008-06-13 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2008 04:30:48 +0000 (04:30 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2008 04:30:48 +0000 (04:30 +0000)
PR fortran/36538
* io/list_read.c (namelist_read): Add eat_separator to eliminate leading
tabs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136776 138bc75d-0d04-0410-961f-82ee72b054a4

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.  */