This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR 40117: [OOP][F2008] Type-bound procedure: allow list after PROCEDURE


On Sat, Jun 12, 2010 at 04:28:02AM +0200, Janus Weil wrote:
> 
> here is a simple parsing patch which adds a minor F08 extension:
> Declaring a list of type-bound procedures. In F03 each TBP had to be
> declared with a separate PROCEDURE statement. In F08 this restriction
> is gone and lists are allowed.
> 
> The patch basically just takes the parsing code for the type-bound
> PROCEDURE statement and puts it inside a loop (with some adjustments).
> It also adds a standards-version check, which will reject procedure
> lists with -std=f2003 or earlier. I had to slightly modifiy one test
> case, and added two new ones: One to make sure that the parsing of
> lists works, and one to check that the rejection works.
> 
> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
> 

OK.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]