This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/36538] namelist failure with tabs preceding object name



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]