From: "Marc A. Criley" <mcqada@earthlink.net>
Subject: Re: with child: access to parent
Date: Tue, 02 Oct 2001 12:53:41 GMT
Date: 2001-10-02T12:53:41+00:00 [thread overview]
Message-ID: <3BB9AD30.D34CC460@earthlink.net> (raw)
In-Reply-To: 4Zgu7.7342$sh6.2399083554@newssvr30.news.prodigy.com
Pat Rogers wrote:
>
> "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.
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
next prev parent reply other threads:[~2001-10-02 12:53 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
2001-10-02 12:53 ` Marc A. Criley [this message]
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