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,efe03f20164a417b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-24 03:03:22 PST Path: nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!news.uni-stuttgart.de!alpha1.csv.ica.uni-stuttgart.de!ucaa2385 From: ucaa2385@alpha1.csv.ica.uni-stuttgart.de (Peter Hermann) Newsgroups: comp.lang.ada Subject: Re: An observation of Ada (may offend) Date: 24 Mar 1995 10:46:52 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Message-ID: <3ku7us$117l@info4.rus.uni-stuttgart.de> References: <3kbkm1$41o@miranda.gmrc.gecm.com> <3kcflv$164a@watnews1.watson.ibm.com> NNTP-Posting-Host: alpha1.csv.ica.uni-stuttgart.de X-Newsreader: TIN [version 1.2 PL2] Date: 1995-03-24T10:46:52+00:00 List-Id: Robert I. Eachus (eachus@spectre.mitre.org) wrote: : In article <3kr20s$gqq@gnat.cs.nyu.edu> dewar@cs.nyu.edu writes: : > Presumably the right form of this pragma is : > Pragma Child_UNits (unit, unit, unit); : > with the meaning that only the named units would be allowed as children. : > This is a perfectly legitimate pragma, and one that could be implemented. : This actually is an improvement to my suggestion, and one I : recommend to all Ada implementors. (In fact, if Robert Dewar doesn't : get around to adding it to GNAT, I may send it to him.) : Of course, and the reason for posting this, is that one needed : form of the pragma is "pragma Child_Units(None);" or "pragma Child_Units;" : I perfer the second form, what do the rest of you think? I would not recommend that whole direction because one of the strengths of the child feature is exactly the fact, that the parent need not be touched further on. For Ada200X, the abs private part may be more convenient (if any) but, imho, this overburdening of the language is superfluous. -- Peter Hermann Tel:+49-711-685-3611 Fax:3758 ph@csv.ica.uni-stuttgart.de Pfaffenwaldring 27, 70569 Stuttgart Uni Computeranwendungen Team Ada: "C'mon people let the world begin" (Paul McCartney)