diff options
author | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 14:51:26 +0000 |
---|---|---|
committer | fxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-10 14:51:26 +0000 |
commit | 508e509344c0f4a28074843945b9e2a18844c749 (patch) | |
tree | ff1a5a09cd156d2125286eca72b04a912d5275b7 /gcc/fortran/parse.c | |
parent | ffb99bfe5ae08dea345ad2b1694fc2086633a8a6 (diff) | |
download | gcc-508e509344c0f4a28074843945b9e2a18844c749.tar.gz |
PR fortran/24549
* parse.c (reject_statement): Clear gfc_new_block.
* gfortran.dg/error_recovery_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113671 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/parse.c')
-rw-r--r-- | gcc/fortran/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 2b04904a77c..2f358e881be 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -1292,7 +1292,7 @@ accept_statement (gfc_statement st) static void reject_statement (void) { - + gfc_new_block = NULL; gfc_undo_symbols (); gfc_clear_warning (); undo_new_statement (); |