From owner-sc22wg5@dkuug.dk  Thu Oct 16 22:23:37 2003
Received: (from majordom@localhost)
	by dkuug.dk (8.12.10/8.9.2) id h9GKNbPs065585
	for sc22wg5-domo; Thu, 16 Oct 2003 22:23:37 +0200 (CEST)
	(envelope-from owner-sc22wg5@dkuug.dk)
X-Authentication-Warning: ptah.dkuug.dk: majordom set sender to owner-sc22wg5@dkuug.dk using -f
Received: from mtiwmhc12.worldnet.att.net (mtiwmhc12.worldnet.att.net [204.127.131.116])
	by dkuug.dk (8.12.10/8.9.2) with ESMTP id h9GKNIEt065580
	for <sc22wg5@dkuug.dk>; Thu, 16 Oct 2003 22:23:28 +0200 (CEST)
	(envelope-from dick.hendrickson@att.net)
Received: from att.net (136.minneapolis-11rh15rt.mn.dial-access.att.net[12.82.84.136])
          by worldnet.att.net (mtiwmhc12) with SMTP
          id <2003101620233511200hlqope>; Thu, 16 Oct 2003 20:23:36 +0000
Message-ID: <3F8EFFD9.3202494@att.net>
Date: Thu, 16 Oct 2003 15:30:17 -0500
From: Dick Hendrickson <dick.hendrickson@att.net>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
CC: sc22wg5@dkuug.dk
Subject: Re: (SC22WG5.3037) Statement separation/termination
References: <200310100955.h9A9txir041592@dkuug.dk> <200310141818.h9EIICOC038034@dkuug.dk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0 () 
Sender: owner-sc22wg5@dkuug.dk
Precedence: bulk



Richard Maine wrote:
> 
> Malcolm Cohen writes:
>  > Walt Brainerd said:
>  > >    X = Y &
>  > >    ; P = Q
> 
>  > The original text of 3.3.1.2 was somewhat unclear, and in any case was
>  > altered by interpretation 121, which I believe was included in
>  > corrigendum 3.
> ...
>  >      A ";"
>  >      must not appear as the first nonblank character on a line.'
> 
> Ah.  I'd forgotten that this was an f90 interp; thought it was an
> f95 one.   Since we apparently don't have an inconsistency between
> f90 (with corrigenda applied), f95, and f2k, I now agree that this
> wouldn't be something to fix in the fcd public comment stage.  It
> isn't an error, it isn't an incompatibility, and it isn't new.
> I had advised Walt to submit it as a proposed fcd comment based
> on my mistaken belief that it was an f90 incompatibility.
> 
> I still do think this is a silly restriction that ought to be fixed
> in the next release after f2003.  The restriction just doesn't make
> any sense.  It doesn't follow from any of the preceding discussion
> in the interp.
> 

I think the restriction against a leading ";" was a reaction to 
some discussions, either on the J3 e-mail list or in 
comp.lang.fortran about what a null statement would be.  
Section 3 says things like "The ";" terminates a statement..."
and that implies that a leading ";" terminates an empty statement.
But, the BNF doesn't allow for an empty statement.  And we'll need
to be careful with IF statements and labeled statements if we try
allow empty statements.  It's awkward to get the words right.

Dick Hendrickson
