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: 103376,df12ee617a1ef887 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.66.75.196 with SMTP id e4mr7323527paw.15.1351712372437; Wed, 31 Oct 2012 12:39:32 -0700 (PDT) Received: by 10.68.230.33 with SMTP id sv1mr11718276pbc.18.1351712372420; Wed, 31 Oct 2012 12:39:32 -0700 (PDT) Path: 6ni51771pbd.1!nntp.google.com!kt20no27216913pbb.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 31 Oct 2012 12:39:32 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: <4ef3d6d1-94e8-4b9e-8f80-c55da3bff811@googlegroups.com> <32ad2f02-ade6-496d-8cef-85cdd0dd4f88@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3ae76ee5-9fb3-473c-a9fa-78f64b1596de@googlegroups.com> Subject: Re: Child packages named Ada illegal? From: Shark8 Injection-Date: Wed, 31 Oct 2012 19:39:32 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-10-31T12:39:32-07:00 List-Id: > 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; One option would be to put package renaming inside the AA or Languages package; thus: with Ada.Characters; Package AA.Language is ... package Internal_Characters Renames Ada.Characters; End AA.Language; would allow you to refer to Ada.Characters via the Internal_Characters name.