summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-25 02:27:17 +0000
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-25 02:27:17 +0000
commitb833d134aa0ef8e576c5dc0cb929edff4250bb42 (patch)
treeede895ea8ec63e54ae2f3ede35edcbd7416ec20b /libgfortran
parent7c983caaafae69f3ad83307f0071c0c91a81e827 (diff)
downloadgcc-b833d134aa0ef8e576c5dc0cb929edff4250bb42.tar.gz
2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/30918 * io/listread.c (namelist_read): Eat comment line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog5
-rw-r--r--libgfortran/io/list_read.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 11a2125832f..1ca53435fdf 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR libgfortran/30918
+ * io/listread.c (namelist_read): Eat comment line.
+
2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/30910
diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c
index 6379776b9bb..3203f3116f7 100644
--- a/libgfortran/io/list_read.c
+++ b/libgfortran/io/list_read.c
@@ -2567,6 +2567,10 @@ find_nml_name:
case '&':
break;
+ case '!':
+ eat_line (dtp);
+ goto find_nml_name;
+
case '=':
c = next_char (dtp);
if (c == '?')