]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR libfortran/30918 (Failure to skip commented out NAMELIST)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 25 Feb 2007 02:27:17 +0000 (02:27 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 25 Feb 2007 02:27:17 +0000 (02:27 +0000)
2007-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/30918
* io/listread.c (namelist_read): Eat comment line.

From-SVN: r122307

libgfortran/ChangeLog
libgfortran/io/list_read.c

index 11a2125832ffa21118ad7662e48aca13b55d1783..1ca53435fdfaa405b18f716ae2da535ff2dc993d 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 6379776b9bbaa1e062e656c671b3573c62c182b5..3203f3116f7889b8093dd58fdfb8f40f97057ee9 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 == '?')