This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36676] Namelist Comments Problems
- 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: 1 Jul 2008 05:43:34 -0000
- Subject: [Bug fortran/36676] Namelist Comments Problems
- References: <bug-36676-16396@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-07-01 05:43 -------
Patch:
Index: list_read.c
===================================================================
--- list_read.c (revision 137236)
+++ list_read.c (working copy)
@@ -2922,8 +2922,8 @@ find_nml_name:
goto find_nml_name;
}
- if (c == '!')
- eat_line (dtp);
+ unget_char (dtp, c);
+ eat_separator (dtp);
/* Ready to read namelist objects. If there is an error in input
from stdin, output the error message and continue. */
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36676