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-Thread: 103376,91d0d8cd28bbb477 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.germany.com!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Implementing an Ada compiler and libraries. Date: Wed, 16 May 2007 14:40:38 -0500 Organization: Jacob's private Usenet server Message-ID: References: <1178721451.073700.10730@y80g2000hsf.googlegroups.com> <6819scxft9y4$.1vlh83ppnnyrh$.dlg@40tude.net> <1178731280.075981.23040@u30g2000hsc.googlegroups.com> <8cu67r7wcdn7$.18rtn6g7506w2$.dlg@40tude.net> <1178818792.829214.95870@q75g2000hsh.googlegroups.com> <1178820387.916393.238070@y80g2000hsf.googlegroups.com> <4644179d$1_5@news.bluewin.ch> <1178905186.012787.167150@y80g2000hsf.googlegroups.com> <1178905389.489947.61760@o5g2000hsb.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: jacob-sparre.dk 1179344319 30815 69.95.181.76 (16 May 2007 19:38:39 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 16 May 2007 19:38:39 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 Xref: g2news1.google.com comp.lang.ada:15816 Date: 2007-05-16T14:40:38-05:00 List-Id: "Lucretia" wrote in message news:1178905389.489947.61760@o5g2000hsb.googlegroups.com... > On May 11, 6:39 pm, Lucretia wrote: > > > package one is ... end one; > > package two is ... end two; > > package body one is ... end one; > > package body two is ... end two; > > > > I take it, this is allowed? > > Also, further to the above, how do other compilers handle this? Janus? > SofCheck? Janus/Ada works roughly the same as Aonix; the compilations are run as if they are separate compilations given to the compiler in the order that they exist in the source file. Personally, I don't think anything else makes sense, but as someone noted, there isn't any rule specifying how this must work. Randy.