Re: [PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Steve Kargl
On Thu, Jun 02, 2011 at 06:39:18PM +0200, Thomas Koenig wrote: > Hi Steve, > > > >Oh phew. Good catch. I wasn't dealing with > >the possible white space issues. Here's an > >updated patch and testcase. > > > > OK for trunk. Could you also add the test case a second time, > without -std=f95,

Re: [PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Steve Kargl
On Thu, Jun 02, 2011 at 06:39:18PM +0200, Thomas Koenig wrote: > Hi Steve, > > > >Oh phew. Good catch. I wasn't dealing with > >the possible white space issues. Here's an > >updated patch and testcase. > > > > OK for trunk. Could you also add the test case a second time, > without -std=f95,

Re: [PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Thomas Koenig
Hi Steve, Oh phew. Good catch. I wasn't dealing with the possible white space issues. Here's an updated patch and testcase. OK for trunk. Could you also add the test case a second time, without -std=f95, to make sure it keeps passing? Thanks for the patch! Thomas

Re: [PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Steve Kargl
On Thu, Jun 02, 2011 at 05:59:29PM +0200, Thomas Koenig wrote: > Hi Steve, > > it seems that, with your patch, > >interface foo > module procedure::bar >end interface > > is rejected, as is > > interface foo > module procuedure:: bar > end interface > > Is this the way i

Re: [PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Thomas Koenig
Hi Steve, it seems that, with your patch, interface foo module procedure::bar end interface is rejected, as is interface foo module procuedure:: bar end interface Is this the way it is supposed to be? Thomas

[PATCH] PR fortran/49265 -- allow for double colon in module procedure statement

2011-06-02 Thread Steve Kargl
The attached patch allows for F2008's optional double colon in a module procedure statement. Built and regression tested on trunk. OK for trunk and 4.6? Steven G. Kargl PR fortran/49265 * decl.c (gfc_match_modproc): Allow for a double colon in a module procedure stateme