comp.lang.ada
 help / color / mirror / Atom feed
From: ncohen@watson.ibm.com (Norman H. Cohen)
Subject: Re: Text_IO and Ada source (was: Form feed comment for pragma Page)
Date: 1996/06/18
Date: 1996-06-18T00:00:00+00:00	[thread overview]
Message-ID: <4q6c5s$12nr@watnews1.watson.ibm.com> (raw)
In-Reply-To: dewar.834075532@schonberg


In article <dewar.834585066@schonberg>, dewar@cs.nyu.edu (Robert Dewar) writes: 
|> Norman said
|>
|> "But there would be a particular EBCDIC code representing the Latin-1
|> source-text linefeed character.
...
|> "
|>
|> What is your justification for the first sentence here. I read nothing
|> in the RM that requires or implies that the source representation of
|> any format effector is a "particular code", EBCDIC or otherwise.
...
|> The standard has NOTHING AT ALL to say about source representation.

Quite right, I was describing actual practice, not any requirement of the
standard.  (The usual practice is to exploit the operating system's
division of files into logical records and to treat each record as a
source line, but it is possible to sneak format effectors--or, more
precisely, EBCDIC characters that the implementation treats as the
representation of ISO 10646 BMP format effectors--into the middle of a
record.)

What RM95 2.2(2) requires is that, whatever mechanisms the implementation
uses to represent a format effector other than a tab, the implementation
must treat the logical occurrence of such a character as the end of a
line, i.e., such a character cannot be construed as occurring in the
MIDDLE of a comment.

--
Norman H. Cohen    ncohen@watson.ibm.com




  parent reply	other threads:[~1996-06-18  0:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-04  0:00 Form feed comment for pragma Page Rex Reges
1996-06-03  0:00 ` Robert Dewar
1996-06-04  0:00   ` Arthur Evans Jr
1996-06-04  0:00     ` Robert Dewar
1996-06-06  0:00       ` Text_IO and Ada source (was: Form feed comment for pragma Page) Arthur Evans Jr
1996-06-06  0:00         ` Robert Dewar
1996-06-11  0:00           ` Norman H. Cohen
1996-06-12  0:00             ` Robert Dewar
1996-06-18  0:00           ` Norman H. Cohen [this message]
1996-06-20  0:00             ` Robert Dewar
1996-06-05  0:00     ` Form feed comment for pragma Page Keith Thompson
1996-06-04  0:00   ` Robert A Duff
1996-06-04  0:00     ` Robert Dewar
1996-06-03  0:00 ` Robert Dewar
1996-06-06  0:00   ` Rex Reges
1996-06-05  0:00     ` Robert Dewar
1996-06-12  0:00       ` Rex Reges
1996-06-12  0:00         ` Rex Reges
1996-06-12  0:00           ` Robert Dewar
1996-06-13  0:00           ` Ken Garlington
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox