[J3] BLOCK construct change

Robert Corbett rpcorbett at att.net
Tue Jun 28 20:02:48 UTC 2022


The program

----------------------------------------------------------------
      MODULE VAR
        INTEGER MC
      END MODULE VAR

        BLOCK
          USE VAR
          MC = 0
        END BLOCK
      END
----------------------------------------------------------------

conforms to the Fortran 2008 standard, but it violates syntax
rule R1109 of the Fortran 2018 standard and the Fortran 202X
draft standard.  Was this change intentional or accidental?
If it was intentional, what was the reason for the change?
If it was accidental, does it require an interpretationrequest?  Does any existing compiler that implements BLOCKconstructs diagnose the violation of the syntax rule?
        

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20220628/58545d61/attachment.htm>


More information about the J3 mailing list