match.c (gfc_match_return): Only require space after keyword when it is obligatory.
authorTobias Schlüter <tobi@gcc.gnu.org>
Mon, 9 May 2005 18:26:20 +0000 (20:26 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Mon, 9 May 2005 18:26:20 +0000 (20:26 +0200)
commit7f42f27f33ae26a2be1c45e919ff25dbc62a3b36
tree6cbc92e1a470f9ed0e5cfee87f772eefa3d3c7a6
parent8d933e3147616e970f36e1b01d2b389ecc87b15c
match.c (gfc_match_return): Only require space after keyword when it is obligatory.

fortran/
* match.c (gfc_match_return): Only require space after keyword when
it is obligatory.  Only give stdwarn to after matching is successful.
* dump-parse-tree.c (gfc_show_symbol): Deal with alternate returns.
testsuite/
* gfortran.dg/return_1.f90: New test.

From-SVN: r99467
gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/return_1.f90 [new file with mode: 0644]