From owner-sc22wg5@dkuug.dk  Tue Oct 14 20:18:12 2003
Received: (from majordom@localhost)
	by dkuug.dk (8.12.10/8.9.2) id h9EIICuH038023
	for sc22wg5-domo; Tue, 14 Oct 2003 20:18:12 +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 mailhub.dfrc.nasa.gov (mailhub.dfrc.nasa.gov [130.134.81.12])
	by dkuug.dk (8.12.10/8.9.2) with ESMTP id h9EIGiEt038010
	for <sc22wg5@dkuug.dk>; Tue, 14 Oct 2003 20:18:07 +0200 (CEST)
	(envelope-from maine@altair.dfrc.nasa.gov)
Received: from mail.dfrc.nasa.gov by mailhub.dfrc.nasa.gov with ESMTP for sc22wg5@dkuug.dk; Tue, 14 Oct 2003 11:13:22 -0700
Received: from altair.dfrc.nasa.gov ([130.134.20.211])
          by mail.dfrc.nasa.gov (Post.Office MTA v3.5.3 release 223
          ID# 0-71686U2500L200S0V35) with ESMTP id gov
          for <sc22wg5@dkuug.dk>; Tue, 14 Oct 2003 11:16:33 -0700
Received: by altair.dfrc.nasa.gov (Postfix, from userid 201)
	id 10F0E35757; Tue, 14 Oct 2003 11:16:29 -0700 (PDT)
From: Richard Maine <Richard.Maine@nasa.gov>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <16268.15740.921037.94745@altair.dfrc.nasa.gov>
Date: Tue, 14 Oct 2003 11:16:28 -0700
To: sc22wg5@dkuug.dk
Subject: (SC22WG5.3028) Statement separation/termination
In-Reply-To: <200310100955.h9A9txir041592@dkuug.dk>
References: <200310100955.h9A9txir041592@dkuug.dk>
X-Mailer: VM 7.07 under 21.4 (patch 12) "Portable Code" XEmacs Lucid
X-Spam-Score: 0 () 
Sender: owner-sc22wg5@dkuug.dk
Precedence: bulk

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.

The only way I can make any sense at all out of it is by assuming
that someone forgot about the case Walt shows when writing the
restriction.  In f90, we didn't have notes, so explanatory material
was just put in the normative text.  This reads to me like a bit
of such explanatory material, trying to explain an effect of the
rules...but getting it wrong...and doing so in normative text.

So I'd propose getting rid of this apparently arbitrary restriction
in f2003+x.  Replace it by a note explaining that the other rules
imply that a semicolon isn't allowed as the first nonblank character
of a noncontinuation line (which does follow from the other rules
and is what I suspect it was intended to say).

Not the world's highest priority proposal, even for f2003+x.  Just
removal of a pointless and unobvious restriction.  Fortunately it
is a restriction that few people will run into and that will at
worst give a compiler error message instead of bad code (though
I'm told that many compilers just accept it anyway).

-- 
Richard Maine                |  Good judgment comes from experience;
Richard.Maine@nasa.gov       |  experience comes from bad judgment.
                             |        -- Mark Twain
