Commit 022d9260 by Jerry DeLisle

re PR fortran/44371 (STOP parsing rejects valid code)

2010-06-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/44371
	* match.c (gfc_match_stopcode): Move gfc_match_eos call inside 
	condition block.

From-SVN: r160133
parent 4c9b3895
2010-06-01 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/44371
* match.c (gfc_match_stopcode): Move gfc_match_eos call inside
condition block.
2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org> 2010-05-31 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/gfortran.texi: Fix typos in description of variable-format- * fortran/gfortran.texi: Fix typos in description of variable-format-
......
...@@ -2018,10 +2018,10 @@ gfc_match_stopcode (gfc_statement st) ...@@ -2018,10 +2018,10 @@ gfc_match_stopcode (gfc_statement st)
goto cleanup; goto cleanup;
if (m == MATCH_NO) if (m == MATCH_NO)
goto syntax; goto syntax;
}
if (gfc_match_eos () != MATCH_YES) if (gfc_match_eos () != MATCH_YES)
goto syntax; goto syntax;
}
if (gfc_pure (NULL)) if (gfc_pure (NULL))
{ {
......
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