From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,58253cbf46bbb1fc X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!attbi_s21.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Automated conversion to C++? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <5uluj.39553$yE1.25779@attbi_s21> NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s21 1203364865 12.201.97.213 (Mon, 18 Feb 2008 20:01:05 GMT) NNTP-Posting-Date: Mon, 18 Feb 2008 20:01:05 GMT Organization: AT&T ASP.att.net Date: Mon, 18 Feb 2008 20:01:05 GMT Xref: g2news1.google.com comp.lang.ada:19869 Date: 2008-02-18T20:01:05+00:00 List-Id: Larry Kilgallen wrote: > > How would those not be "inline reserved characters" ? > > How would you write a line that had an ASCII 10 in the middle > and get back that line that had an ASCII 10 in the middle, as > you can with the Ada compiler I currently use ? > > I have no doubt that with Posix one could write a subset of Ada, > but that was not the question posed. I'm sorry, but full Ada does not specify how line termination is implemented, nor guarantee that all values of Character may appear in a line that will be read back as written. ARM A.10 says they depend on the implementation, and may be actual characters, or "inline reserved characters", as you call them. "The effect of input (Get) or output (Put) of control characters (other than horizontal tabulation) is not specified by the language." That you have an implementation in which all values of Characters may appear in a line does not mean that the standard requires it. -- Jeff Carter "We'll make Rock Ridge think it's a chicken that got caught in a tractor's nuts!" Blazing Saddles 87