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,20c75acdaea028c3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail From: "Adam Beneschan" Newsgroups: comp.lang.ada Subject: Re: Usage of \ in Ada Date: 22 Aug 2006 11:13:28 -0700 Organization: http://groups.google.com Message-ID: <1156270408.443763.15680@h48g2000cwc.googlegroups.com> References: <1156147411.215015.31110@i42g2000cwa.googlegroups.com> <17jicmx6si17i.1wwvf6cafw7u1.dlg@40tude.net> <1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1156270415 1753 127.0.0.1 (22 Aug 2006 18:13:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 22 Aug 2006 18:13:35 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h48g2000cwc.googlegroups.com; posting-host=66.126.103.122; posting-account=cw1zeQwAAABOY2vF_g6V_9cdsyY_wV9w Xref: g2news2.google.com comp.lang.ada:6318 Date: 2006-08-22T11:13:28-07:00 List-Id: Dmitry A. Kazakov wrote: > > If LF is a line terminator, you can't put it in a string literal. > > That's what I mean. Only identifier letters, digits, spaces and > > "Any character of the ISO 10646 BMP that is not reserved for a control > function, and is not the space_character, an identifier_letter, or a digit" > > are allowed. Actually it is not different from escape sequences of C, > except that once escaped you won't get back without a compile error. > > ------------ > 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). -- Adam