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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5cb92496a410777 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Extension to with Child Units Date: 1995/04/19 Message-ID: #1/1 X-Deja-AN: 101283247 references: organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1995-04-19T00:00:00+00:00 List-Id: In article , Robert Dewar wrote: >Bob Duff writes: > >i"Better yet, presumably "with Standard.**;" means to import everything in >the program library." > >I hesitate to argue with the guy who wrote the book :-) ;-) >but I thought that library units were compiled within standard, rather than >being children of standard. I had thought of with Standard.** but dismissed >it on this ground. Every library unit (except Standard) is a child of something -- a root library unit is a child of Standard. See 10.1.1(10). Root library units are compiled exactly as children of Standard, not as units physically nested within Standard (not that it makes much difference). However, you can't say "with Standard.Foo;" because of 10.1.6(2). So my joke about "with Standard.**;" doesn't really work. (I hope no real programmer ever has to read section 10.1.6 -- it's a bunch of legalistic mumbo-jumbo intented only for compiler writers. That means you, Robert, have to read it -- :-( ) - Bob