This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36538] namelist failure with tabs preceding object name
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jun 2008 03:53:42 -0000
- Subject: [Bug libfortran/36538] namelist failure with tabs preceding object name
- References: <bug-36538-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jvdelisle at gcc dot gnu dot org 2008-06-14 03:53 -------
The following patch fixes this:
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. */
I will commit as obvious after completing regression tests. Passes al namelist
tests we have.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36538