From owner-sc22wg5@dkuug.dk  Thu Oct 16 22:56:55 2003
Received: (from majordom@localhost)
	by dkuug.dk (8.12.10/8.9.2) id h9GKutcA066093
	for sc22wg5-domo; Thu, 16 Oct 2003 22:56:55 +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 h9GKtQEt066065
	for <sc22wg5@dkuug.dk>; Thu, 16 Oct 2003 22:56:50 +0200 (CEST)
	(envelope-from maine@altair.dfrc.nasa.gov)
Received: from mail.dfrc.nasa.gov by mailhub.dfrc.nasa.gov with ESMTP; Thu, 16 Oct 2003 13:52:08 -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;
          Thu, 16 Oct 2003 13:55:38 -0700
Received: by altair.dfrc.nasa.gov (Postfix, from userid 201)
	id 6E333380D0; Thu, 16 Oct 2003 13:55:31 -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: <16271.1475.348949.339009@altair.dfrc.nasa.gov>
Date: Thu, 16 Oct 2003 13:55:31 -0700
To: Dick Hendrickson <dick.hendrickson@att.net>
Cc: sc22wg5@dkuug.dk
Subject: (SC22WG5.3041) Statement separation/termination
In-Reply-To: <200310162023.h9GKNc2C065596@dkuug.dk>
References: <200310100955.h9A9txir041592@dkuug.dk>
	<200310141818.h9EIICOC038034@dkuug.dk>
	<200310162023.h9GKNc2C065596@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

Dick Hendrickson writes:
 > > 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....

Exactly.  But that applies *ONLY* to the initial line - not a
continuation line.  That is exactly the point that I think was
overlooked by whoever wrote the words of the interp.  On a
continuation line, in particularly with the example that Walt posted,
there is no potential "null statement" in sight anywhere.  That's why
I claim that the restriction does not follow from the discussion.

It is just a complete nonsequitur.  The discussion would justify
having the restriction the way it is in Walt's f95 handbook, saying
that you can't have a leading ";" *EXCEPT* on a continuation line.
Indeed, that part of the restriction follows from the other text (and
thus probably should have been a note instead of normative text,
except that we didn't have notes in f90).

Restricting against a leading ";" on a continuation line doesn't
follow from anything.

I agree that allowing null statements adds extra "issues" (perhaps
ones we might want to address, but at least it isn't trivial and
might have impacts on some things like error detection).  Deleting
the restriction against leading ";" on a continuation line doesn't
have any such issues.

Recall that Walt's example was something like (not in front of me
right now, but the gist of it was)

   x = 1.0 &
      ; y = 2.0

There is no null statement there.  The ";" terminates the x=1.0
statement...or it would if we didn't arbitrarily say that it was
disallowed.

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