[J3] [EXTERNAL] Re: Syntax for enumeration

Van Snyder Van.Snyder at jpl.nasa.gov
Tue Oct 22 15:02:02 EDT 2019


On Tue, 2019-10-22 at 09:54 -0700, Ondřej Čertík via J3 wrote:
> Some of the arguments against it are that all statements in Fortran   
> start with a keyword, another one is that you can't put an attribute
> to it as you mentioned (but you could argue to make ENUMERATOR
> optional and only require it when attributes are present).

The reason that /DATA rejected a simple list of enumerator names is that
in fixed form, or if the optional blank in END TYPE is eliminated,
ENDTYPE is just another enumerator. Then a syntax error occurs on the
next statement.




More information about the J3 mailing list