From: "Adam Beneschan" <adam@irvine.com>
Subject: Re: Usage of \ in Ada
Date: 22 Aug 2006 11:13:28 -0700
Date: 2006-08-22T11:13:28-07:00 [thread overview]
Message-ID: <1156270408.443763.15680@h48g2000cwc.googlegroups.com> (raw)
In-Reply-To: 1thd8agjty9cr.dyp1m8yqb4xd$.dlg@40tude.net
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
next prev parent reply other threads:[~2006-08-22 18:13 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
2006-08-22 18:13 ` Adam Beneschan [this message]
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