This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36546] Namelist error with tab following a comma and newline
- 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: 16 Jun 2008 04:40:19 -0000
- Subject: [Bug libfortran/36546] Namelist error with tab following a comma and newline
- References: <bug-36546-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-16 04:40 -------
Proposed patch, fixes the test case. Testing still.
Index: list_read.c
===================================================================
--- list_read.c (revision 136821)
+++ list_read.c (working copy)
@@ -366,7 +366,7 @@ eat_separator (st_parameter_dt *dtp)
}
}
}
- while (c == '\n' || c == '\r' || c == ' ');
+ while (c == '\n' || c == '\r' || c == ' ' || c == '\t');
unget_char (dtp, c);
}
break;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36546