[patch, committed] Fix for PR36538 namelist failure with tabs preceding object name

Jerry DeLisle jvdelisle@verizon.net
Sat Jun 14 04:34:00 GMT 2008


Committed as obvious after regression testing.

Committed revision 136776.

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.


Index: list_read.c
===================================================================
--- list_read.c (revision 136763)
+++ list_read.c (working copy)
@@ -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.  */



More information about the Fortran mailing list