comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@classwide.com>
Subject: Re: with child: access to parent
Date: Tue, 02 Oct 2001 10:49:36 GMT
Date: 2001-10-02T10:49:36+00:00	[thread overview]
Message-ID: <4Zgu7.7342$sh6.2399083554@newssvr30.news.prodigy.com> (raw)
In-Reply-To: 9pc3jp$old$1@infosun2.rus.uni-stuttgart.de


"Peter Hermann" <ica2ph@iris16.csv.ica.uni-stuttgart.de> 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





  reply	other threads:[~2001-10-02 10:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 10:06 with child: access to parent Peter Hermann
2001-10-02 10:49 ` Pat Rogers [this message]
2001-10-02 12:53   ` Marc A. Criley
2001-10-02 14:25     ` Peter Hermann
2001-10-02 14:44       ` Pat Rogers
2001-10-02 14:10   ` Peter Hermann
2001-10-02 14:17     ` Ted Dennison
2001-10-02 15:17       ` Wes Groleau
2001-10-02 16:14         ` Peter Hermann
2001-10-12 13:58         ` Simon Wright
2001-10-02 14:22     ` Pat Rogers
2001-10-08 10:51       ` Jean-Pierre Rosen
2001-10-11 15:07         ` Peter Hermann
2001-10-11 14:54           ` Pat Rogers
2001-10-03  0:34     ` dale
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox