From: karl@grebyn.com (Karl A. Nyberg)
Subject: Re: Why no umlauts in Ada comments?
Date: Wed, 21 Oct 92 09:07:10 EDT [thread overview]
Message-ID: <9210211307.AA28973@genesis.grebyn.com> (raw)
In article <MD57N5C@math.fu-berlin.de> you write:
>Why on earth are comments specifically defined in the LRM to just
>be the letters "A".."Z", "a",,"z", the digits and some special characters?
>Why is the definition not just *any* character representation except
>carriage return? We are using Meridian's Ada compiler for PCs, and
>the students comment their code in German. German, as well as many
>other non-English languages, has a number of special letters, such as
>a-umlaut, o-umlaut ant u-umlaut. We have to write out "ae" "oe" and
>"ue", which doesn't look very nice at all, although strangely enough
>the "ess-zet" representation *is* accepted.
According to AI-00339/04-BI-WJ, a binding commentary approved by all the
necessary organizations (AJPO for ANSI and ISO):
An implementation is allowed to accept an extended character set
(i.e., graphic characters whose codes do not belong to the ISO
seven-bit coded character set (ISO standard 646)) as long as the
additional charcters appear only in comments (i.e., the dditional
characters only appear after two adjacent hyphens and precede th end
of the line.
You can find this on page 2-6 of the 2nd edition of my Annotated Ada
Reference Manual (shameless plug, eh? :-)), LRM 2.7(1)-[A..B].
Note also, it says "allowed", not "required".
-- Karl --
--
Karl Nyberg -- karl@grebyn.com
Grebyn Corporation -- 1-703-281-2194
P. O. Box 497 -- I support freedom of choice
Vienna, VA 22183-0497 -- for unborn women. Get it?
next reply other threads:[~1992-10-21 13:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-10-21 13:07 Karl A. Nyberg [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-10-20 16:08 Why no umlauts in Ada comments? pa.dec.com!nntpd2.cxo.dec.com!bonmot!wallace
1992-10-20 14:44 cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!ira.uka.de!math.fu-berlin.de!weberwu
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox