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.2 required=5.0 tests=BAYES_00,REPLYTO_WITHOUT_TO_CC, SUBJECT_NEEDS_ENCODING,SUBJ_ILLEGAL_CHARS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8ea33c39efc56ac3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news2.google.com!news.glorb.com!feeder.erje.net!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: sharp � and ss in Ada keywords like ACCESS Date: Tue, 11 Oct 2011 09:36:31 +0200 Organization: cbb software GmbH Message-ID: <1aopal79s1esa$.dabl84c55g4l$.dlg@40tude.net> References: <4e931db5$0$6541$9b4e6d93@newsspool4.arcor-online.net> <1f9a5099-f5f5-49a8-8773-b7eaca771427@s5g2000pra.googlegroups.com> <4e93381d$0$6545$9b4e6d93@newsspool4.arcor-online.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:22332 Date: 2011-10-11T09:36:31+02:00 List-Id: On Mon, 10 Oct 2011 17:25:17 -0500, Randy Brukardt wrote: > Also note that even if the conversion was allowed, the identifier "acce�" > would be illegal: 2.3(5.3/3) [and the equivalent rule in Ada 2005] makes it > illegal to have an identifier that is identical to a reserved word. And > reserved words use character-by-character case conversion - any case where > the number of characters change is not considered. Since Ada 2012 uses > "simple case folding", 2.3(5.3/3) doesn't have any impact, but if it had > used "full case folding", it would prevent words like the above. One still can fool it by using Cyrillic a (0430), c (0441), e (0435). P.S. Shouldn't we ask the Unicode consortium to introduce programming languages page with "access" as single character (and "goto", "if", "then", "begin", "end", ... etc). They surely would enjoy it, since they did just so for Roman numerals, degree symbols (�C, �F) etc. That would make the mess perfect! (:-)) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de