re PR fortran/49265 (Double colon in procedure-stmt (generic interface))
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 2 Jun 2011 17:39:11 +0000 (17:39 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 2 Jun 2011 17:39:11 +0000 (17:39 +0000)
commit162b5a21add6f291f4c57cc14e2c2e915cb2029c
tree242a5caaf3adfe3919008fa60117ab80217b7e2f
parent6e588138db4f545f3d14b96fe946150b594294ae
re PR fortran/49265 (Double colon in procedure-stmt (generic interface))

2011-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/49265
* decl.c (gfc_match_modproc):  Allow for a double colon in a module
procedure statement.
* parse.c ( decode_statement): Deal with whitespace around :: in
gfc_match_modproc.

2011-06-02  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/49265
* gfortran.dg/module_procedure_double_colon_1.f90: New test.
* gfortran.dg/module_procedure_double_colon_2.f90: New test.

From-SVN: r174569
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/parse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/module_procedure_double_colon_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/module_procedure_double_colon_2.f90 [new file with mode: 0644]