OSDN Git Service

2007-02-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Feb 2007 02:27:17 +0000 (02:27 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Feb 2007 02:27:17 +0000 (02:27 +0000)
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

libgfortran/ChangeLog
libgfortran/io/list_read.c

index 11a2125..1ca5343 100644 (file)
@@ -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
index 6379776..3203f31 100644 (file)
@@ -2567,6 +2567,10 @@ find_nml_name:
     case '&':
           break;
 
+    case '!':
+      eat_line (dtp);
+      goto find_nml_name;
+
     case '=':
       c = next_char (dtp);
       if (c == '?')