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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,df12ee617a1ef887 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.193.72 with SMTP id dt8mr19384917qab.7.1351706366358; Wed, 31 Oct 2012 10:59:26 -0700 (PDT) Received: by 10.52.93.229 with SMTP id cx5mr6919066vdb.19.1351706366333; Wed, 31 Oct 2012 10:59:26 -0700 (PDT) Path: gf5ni7629245qab.0!nntp.google.com!c7no1050854qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 31 Oct 2012 10:59:26 -0700 (PDT) In-Reply-To: <4ef3d6d1-94e8-4b9e-8f80-c55da3bff811@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.80.81.3; posting-account=3cDqWgoAAAAZXc8D3pDqwa77IryJ2nnY NNTP-Posting-Host: 188.80.81.3 References: <4ef3d6d1-94e8-4b9e-8f80-c55da3bff811@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <32ad2f02-ade6-496d-8cef-85cdd0dd4f88@googlegroups.com> Subject: Re: Child packages named Ada illegal? From: Marius Amado-Alves Injection-Date: Wed, 31 Oct 2012 17:59:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-10-31T10:59:26-07:00 List-Id: Thanks. The package is as follows (the entire thing is at sourceforge.net/p= rojects/aalibrary/). GNAT shouts <> at line= "(if Ada...);". The fix is to rename the package AA.Languages.Ada_Language= . The Standard.Ada trick doesn't work. with Ada.Characters.Handling; ... package body AA.Languages.Ada is ... function Non_Alphanum_To_Underscore (From : Character) return Character = is (if Ada.Characters.Handling.Is_Alphanumeric (From) then From else '_'= ); ... end;