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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,21a8034919747a69 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!v45g2000cwv.googlegroups.com!not-for-mail From: "Anh Vo" Newsgroups: comp.lang.ada Subject: Re: Splitting packages in per-procedure separate files Date: 10 Feb 2007 10:36:29 -0800 Organization: http://groups.google.com Message-ID: <1171132589.612452.120980@v45g2000cwv.googlegroups.com> References: <2007021017501616807-sjs@essexacuk> NNTP-Posting-Host: 69.232.238.182 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1171132604 7376 127.0.0.1 (10 Feb 2007 18:36:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 Feb 2007 18:36:44 +0000 (UTC) In-Reply-To: <2007021017501616807-sjs@essexacuk> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: v45g2000cwv.googlegroups.com; posting-host=69.232.238.182; posting-account=JVr7Xg0AAAAI3MbuARxMmvWLmA7qdJMx Xref: g2news2.google.com comp.lang.ada:9233 Date: 2007-02-10T10:36:29-08:00 List-Id: On Feb 10, 9:50 am, Stephen Sangwine wrote: > On 2007-02-10 16:23:12 +0000, Francesco Bochicchio said: > > > Hi all, > > > due to coding standards which were not enforced when someone else coded, > > I now have to split the packages of a 20000 LOC ADA program, putting a > > single procedure per file (using the separate clause). > > You can only put procedures which are declared immediately within the > declarative part of a compilation unit into a separate file. > (LRM 95 10.1.3(13)). > > 20,000 LOC is quite a large program. If it has all the procedures declared > immediately within the main program declarative part that would be quite an > un-Ada way to have structured the code. > > Is it really written like that? I never even heard a procedure half of this size. This triggers my curiosity to know more details about it. AV