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 03:50:10 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!207.115.63.138!newscon04.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr30.news.prodigy.com.POSTED!not-for-mail From: "Pat Rogers" Newsgroups: comp.lang.ada References: <9pc3jp$old$1@infosun2.rus.uni-stuttgart.de> Subject: Re: with child: access to parent X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <4Zgu7.7342$sh6.2399083554@newssvr30.news.prodigy.com> NNTP-Posting-Host: 208.191.176.121 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr30.news.prodigy.com 1002019776 ST000 208.191.176.121 (Tue, 02 Oct 2001 06:49:36 EDT) NNTP-Posting-Date: Tue, 02 Oct 2001 06:49:36 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: FKPGWWCEJKVOBTT^]BCB^]\@PJ_^PBQLGPQRZQ]KEYUNDQUCCNSUAACY@L[ZX__HGFD]JBJNSFXTOOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM Date: Tue, 02 Oct 2001 10:49:36 GMT Xref: archiver1.google.com comp.lang.ada:13613 Date: 2001-10-02T10:49:36+00:00 List-Id: "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. --- Patrick Rogers Consulting and Training in: http://www.classwide.com Real-Time/OO Languages progers@classwide.com Hard Deadline Schedulability Analysis (281)648-3165 Software Fault Tolerance