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!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.belwue.de!newsfeed.arcor.de!newsspool4.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> <1156354284.975163.174490@b28g2000cwb.googlegroups.com> Date: Wed, 23 Aug 2006 22:25:39 +0200 Message-ID: <1j9zi3r2docoq$.5gnvkzmffdxu.dlg@40tude.net> NNTP-Posting-Date: 23 Aug 2006 22:25:29 CEST NNTP-Posting-Host: 9f0fbca3.newsspool4.arcor-online.net X-Trace: DXC=V]aMaBaKL3E[6=1B@oB@@@4IUK\BH3YBnQ_WNInkQCLDNcfSJ;bb[EIRnRBaCd On 23 Aug 2006 10:31:25 -0700, Adam Beneschan wrote: > Dmitry A. Kazakov wrote: >> 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. > > Apparently it has. Either you're really confused, or I'm really > confused about what you're trying to say, or possibly both. [...] I have already agreed that the code position 16#5C# should pose no problem. What I meant is a rationale behind the choice made to reference some code positions as potentially illegal. I don't understand the reason why, provided that the source representation is explicitly stated as irrelevant. As an example, I gave a program in HTML or XML encoding, which representation allows to place *any* code position into a string literal. According to ARM this program could be illegal, without obvious reason. In other words, how can an Ada compiler know if the code position of, say, LF is reserved for a control function? Why should it care? -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de