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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,20c75acdaea028c3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!npeer.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Usage of \ in Ada Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <1156147411.215015.31110@i42g2000cwa.googlegroups.com> <17jicmx6si17i.1wwvf6cafw7u1.dlg@40tude.net> <1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net> <1156270408.443763.15680@h48g2000cwc.googlegroups.com> Date: Wed, 23 Aug 2006 10:35:53 +0200 Message-ID: NNTP-Posting-Date: 23 Aug 2006 10:35:53 CEST NNTP-Posting-Host: e1e8bb55.newsspool1.arcor-online.net X-Trace: DXC=>HAAWShAm0NWDmlTRbh@=Iic==]BZ:afN4Fo<]lROoRA4nDHegD_]REk[m8LX2EZY@DNcfSJ;bb[EFCTGGVUmh?DN\HXHJ4e80NIe^E9^g?A^I X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6322 Date: 2006-08-23T10:35:53+02:00 List-Id: On 22 Aug 2006 11:13:28 -0700, Adam Beneschan wrote: > Dmitry A. Kazakov wrote: > >> P.S. it seems that OP question actually cannot be answered. Whether \ is >> reserved for a control function depends on the platform. > > No, it depends on ISO 10646. And character 92 (\) is not reserved for > a control function in that ISO standard. See also RM95 2.1(17). Yes, that should exclude the code position 16#5C# (\). Its wording is interesting, because it uses "code position", and yet leaves source representation free. I wonder, if that might lead to confusion. Consider an HTML encoded Ada program containing a string literal represented as &34;&10;&34; ('"' & LF & '"'). That could be illegal, if the code position 10 (LF) is control. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de