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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!news.belwue.de!newsfeed.arcor.de!newsspool3.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> Date: Tue, 22 Aug 2006 09:42:24 +0200 Message-ID: <1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net> NNTP-Posting-Date: 22 Aug 2006 09:42:08 CEST NNTP-Posting-Host: 120a5658.newsspool4.arcor-online.net X-Trace: DXC=CE;Y8;lMQc5TQL:hoD@>T?4IUK\BH3Y2@`Lc;c12WF6DNcfSJ;bb[5FCTGGVUmh?4N\HXHJ4e80>j?U0GFhhoN4 X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6311 Date: 2006-08-22T09:42:08+02:00 List-Id: On Tue, 22 Aug 2006 02:47:48 GMT, Jeffrey R. Carter wrote: > Dmitry A. Kazakov wrote: >> >> I.e. placing LF character into a string literal, be prepared to >> surprises... > > 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. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de