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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: G. B. Newsgroups: comp.lang.ada Subject: Re: body stub not allowed in inner scope Date: Fri, 2 Mar 2018 19:37:42 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <55cd79f5-4b37-4b08-b292-073ed2f37021@googlegroups.com> <15c49c4e-726a-4fd7-bf35-c7d27ff9a491@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 2 Mar 2018 19:37:42 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="def62cea61a155ad8e9882369a35ecc2"; logging-data="9268"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wFxcUITRo8tsBwLyTQsUZad1s4wmZK9A=" User-Agent: NewsTap/5.3.1 (iPhone/iPod Touch) Cancel-Lock: sha1:7b1l8O7RRatQR/z9B7CTCGrjr5g= sha1:l81Su+ZSByb0rXl6NaF4Xvi5WlQ= Xref: reader02.eternal-september.org comp.lang.ada:50795 Date: 2018-03-02T19:37:42+00:00 List-Id: Randy Brukardt wrote: > why put them in a separate file in the first place? Yes, separate units can be placed after the bodies, yet in the same file! Not always my choice but that, too moves dependences out of the superunit. Irrespective of what a compiler can make of this.