From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Usage of \ in Ada
Date: Tue, 22 Aug 2006 09:42:24 +0200
Date: 2006-08-22T09:42:08+02:00 [thread overview]
Message-ID: <1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net> (raw)
In-Reply-To: ofuGg.146612$1i1.6400@attbi_s72
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
next prev parent reply other threads:[~2006-08-22 7:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-21 8:03 Usage of \ in Ada Jerry
2006-08-21 8:11 ` Jacob Sparre Andersen
2006-08-21 19:44 ` Jeffrey R. Carter
2006-08-21 20:25 ` Dmitry A. Kazakov
2006-08-22 2:47 ` Jeffrey R. Carter
2006-08-22 7:42 ` Dmitry A. Kazakov [this message]
2006-08-22 18:13 ` Adam Beneschan
2006-08-23 8:35 ` Dmitry A. Kazakov
2006-08-23 17:31 ` Adam Beneschan
2006-08-23 20:25 ` Dmitry A. Kazakov
2006-08-24 0:22 ` Adam Beneschan
2006-08-24 8:37 ` Jean-Pierre Rosen
2006-08-24 9:53 ` Dmitry A. Kazakov
2006-08-24 12:15 ` Jean-Pierre Rosen
2006-08-24 14:43 ` Dmitry A. Kazakov
2006-08-24 15:24 ` Jean-Pierre Rosen
2006-08-24 17:16 ` Adam Beneschan
2006-08-22 19:38 ` Jeffrey R. Carter
2006-08-22 21:29 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox