Commit 4f8d744e by Jerry DeLisle

re PR libfortran/30918 (Failure to skip commented out NAMELIST)

2007-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

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

From-SVN: r122307
parent 6b7039e2
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> 2007-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libgfortran/30910 PR libgfortran/30910
......
...@@ -2567,6 +2567,10 @@ find_nml_name: ...@@ -2567,6 +2567,10 @@ find_nml_name:
case '&': case '&':
break; break;
case '!':
eat_line (dtp);
goto find_nml_name;
case '=': case '=':
c = next_char (dtp); c = next_char (dtp);
if (c == '?') if (c == '?')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment