(j3.2006) bad grammar

Bill Long longb
Tue Feb 26 08:24:14 EST 2013



On 2/26/13 1:57 AM, Robert Corbett wrote:
> On c.l.f., Ian Harvey pointed out that the Fortran 2008 standard allows the
> <type-declaration-stmt>
>
>         TYPE(CHARACTER*1,) C
>
> but not
>
>         TYPE(CHARACTER*1,) :: C

Why would he think that?  The optionality of the :: is not linked to the 
XXX that appears in type(XXX).

Allowing the comma after the *1 is annoying.  Since it is already 
obsolescent syntax, I don't expect we'll do anything about that.

Cheers,
Bill

>
> Robert Corbett
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
>

-- 
Bill Long                                           longb at cray.com
Fortran Technical Support    &                 voice: 651-605-9024
Bioinformatics Software Development            fax:   651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101





More information about the J3 mailing list