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!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Position of "use" Date: Tue, 15 Jul 2014 18:01:12 +0100 Organization: A noiseless patient Spider Message-ID: References: <53c4d9ec$0$6658$9b4e6d93@newsspool3.arcor-online.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="5cbec41b82bafb9ba55107f02585e18b"; logging-data="8887"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18fegKvCzR1DZJVKOxnhJWR+wdg8FX9aCA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:X6os96wjGozrmFnNQgnxHv3cJZE= sha1:hP3gEI3iB7V530ak/OzeGPNdGYY= Xref: news.eternal-september.org comp.lang.ada:20943 Date: 2014-07-15T18:01:12+01:00 List-Id: Georg Bauhaus writes: > But, for example, another package (other than children of the first, > or subunits) that happens to be declared in the same file establishes > another declarative region. Any with_clause, then, that is atop any > prior declarative region is not in scope of this package's declarative > region. But, in Ada83, a *pragma*'s scope extended over the whole compilation (all the compilation units). GNAT (gnatchop) doesn't seem to support this; the modern equivalent would be configuration pragmas, ARM 10.1.5(1)[1]. I think perhaps Mr Anon is confusing context clauses with pragmas. [1] http://www.adaic.org/resources/add_content/standards/12rm/html/RM-10-1-5.html#p8