> Yes, the patch appears to catch those as well.
Then: OK to commit.
Thanks!
FX
On Fri, May 15, 2015 at 10:37:24PM +0200, FX wrote:
> Does it also catch the other cases shown in the PR? Things like:
>
> generic :: 2
> generic :: 2 =
> generic :: 1 => x
> generic :: ?
>
Yes, the patch appears to catch those as well.
--
Steve
Does it also catch the other cases shown in the PR? Things like:
generic :: 2
generic :: 2 =
generic :: 1 => x
generic :: ?
etc.
OK if so. If not, maybe it’s worth adding them at the same time?
FX
Regression tested on trunk. OK to commit?
See the test case for the type of error that this patch
catches.
2015-05-XX Steven G. Kargl
PR fortran/66057
* decl.c(gfc_match_generic): Detected a malformed GENERIC statement.
2015-05-XX Steven G. Kargl
PR fortran/6605