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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3a6aafa384c96cc6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-02 05:53:40 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!crtntx1-snh1.gtei.net!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3BB9AD30.D34CC460@earthlink.net> From: "Marc A. Criley" Organization: Quadrus Corporation X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: with child: access to parent References: <9pc3jp$old$1@infosun2.rus.uni-stuttgart.de> <4Zgu7.7342$sh6.2399083554@newssvr30.news.prodigy.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 02 Oct 2001 12:53:41 GMT NNTP-Posting-Host: 63.178.185.211 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1002027221 63.178.185.211 (Tue, 02 Oct 2001 05:53:41 PDT) NNTP-Posting-Date: Tue, 02 Oct 2001 05:53:41 PDT X-Received-Date: Tue, 02 Oct 2001 05:50:09 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.lang.ada:13617 Date: 2001-10-02T12:53:41+00:00 List-Id: Pat Rogers wrote: > > "Peter Hermann" wrote in message > news:9pc3jp$old$1@infosun2.rus.uni-stuttgart.de... > > We happened to detect following non-expected > > language permission (at least by gnat3.13p): > > > > -------------------- > > with pak.child; > > procedure mytest is > > begin > > pak.hugo:=1; > > end; > > -------------------- > > package pak is > > hugo :integer; > > end pak; > > -------------------- > > package pak.child is > > end; > > -------------------- > > > > This may be perfectly legal but > > I can not find the appropriate rule > > in the LRM. > > 10.1.2 Context Clauses - With Clauses > > 6 A library_item is mentioned in a with_clause if it is denoted by a > library_unit_name or a prefix in the with_clause. Which means that with pak.child; is equivalent to: with pak; with pak.child; Marc A. Criley Senior Staff Engineer Quadrus Corporation www.quadruscorp.com