(j3.2006) (SC22WG5.5685) AW: RE: [ukfortran] F08/C201

Bader, Reinhold Reinhold.Bader
Wed Mar 16 03:46:29 EDT 2016


Hi Erik, 

my impression is that C201 only closes a hole that would otherwise permit improper nesting of statements with respect to executable constructs, e.g.,

block
   ...
   end subroutine
end block

Cheers 
Reinhold

> -----Urspr?ngliche Nachricht-----
> Von: owner-sc22wg5 at open-std.org [mailto:owner-sc22wg5 at open-std.org] Im
> Auftrag von Forcheck
> Gesendet: Dienstag, 15. M?rz 2016 21:08
> An: 'Cohen Malcolm' <malcolm at nag-j.co.jp>; 'WG5' <sc22wg5 at open-std.org>
> Betreff: (SC22WG5.5684) RE: [ukfortran] F08/C201
> 
> Excuses for the typo. I know it compiles ok without the typo.
> So C201 is incorrect?
> Will it be corrected?
> Do I have to ask for an interpretation?
> 
> Cheers,
> Erik
> 
> -----Oorspronkelijk bericht-----
> Van: owner-sc22wg5 at open-std.org [mailto:owner-sc22wg5 at open-std.org]
> Namens Cohen Malcolm
> Verzonden: dinsdag 15 maart 2016 01:14
> Aan: WG5 <sc22wg5 at open-std.org>
> Onderwerp: (SC22WG5.5683) [ukfortran] F08/C201
> 
> >Is the following code standard conforming?
> 
> No.
> 
> >C201 disallows the End Subroutine statement. Is this correct?
> 
> No.
> 
> >Subroutine sub1
> >  Block
> >    Interface
> >      Subroutine sub
> >      End Subrouttine
> 
> Typo.
> 
> >    End Interface
> >  End Block
> >End
> 
> You should find that it compiles ok after correcting the typo.
> 
> Cheers,
> --
> ........................Malcolm Cohen, Nihon NAG, Tokyo.
> 




More information about the J3 mailing list