(j3.2006) (SC22WG5.5161) [ukfortran] [ Draft corrigendum 3]
Van Snyder
van.snyder
Sat Dec 21 21:12:39 EST 2013
On Sun, 2013-12-22 at 09:48 +0900, Malcolm Cohen wrote:
> I (and others) disagree with your assertion that
> REAL x(*)
> PARAMETER(x = [ 1,2,3,4,5 ])
> is unreasonable and should never be allowed. Disallowing this would
> break
> one of our basic design rules for the BNF of declarations, which is
> that one
> can specify attributes independently. Yes it is a smaller edit to
> the
> standard, and would not remove significant functionality ... but then
> deleting the PARAMETER statement entirely would not remove
> significant
> functionality!
To repair the "problem" we would also need to delete the DIMENSION
statement, so one could not do
dimension X(*)
real, parameter :: X = [ 1, 2, 3, 4, 5 ]
More information about the J3
mailing list