This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, committed] Fix for PR36538 namelist failure with tabs preceding object name
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 13 Jun 2008 21:34:04 -0700
- Subject: [patch, committed] Fix for PR36538 namelist failure with tabs preceding object name
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. */