decl.c (gfc_match_end): Check that the block name starts with "block@".
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 26 Apr 2011 22:07:11 +0000 (22:07 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 26 Apr 2011 22:07:11 +0000 (22:07 +0000)
commit3a1fd30c8a3a4474ff04b9d857deff3792fa2087
tree44987fd72abe0fd69b95ebb2eade3764b973156a
parent898b8927465614b911841f134f37165a613debf5
decl.c (gfc_match_end): Check that the block name starts with "block@".

2011-04-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

* decl.c (gfc_match_end):  Check that the block name starts
with "block@".
* parse.c (gfc_build_block_ns):  Make block names unique by
numbering them.

From-SVN: r172990
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/parse.c