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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,48872198fdca5efd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 20 Aug 2009 09:37:40 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: SPARK - refactoring and refinement of own state References: <4cc6e9da-9a4a-4a9a-8748-4c5c4a3e9362@z28g2000vbl.googlegroups.com> In-Reply-To: <4cc6e9da-9a4a-4a9a-8748-4c5c4a3e9362@z28g2000vbl.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a8cfd47$0$30230$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 20 Aug 2009 09:37:43 CEST NNTP-Posting-Host: 8c983f8a.newsspool1.arcor-online.net X-Trace: DXC=SdX=?cRU7do[F<50eo:0knic==]BZ:afn4Fo<]lROoRa^YC2XCjHcbiTBNimU?D:dcKQDKiQ7h Maciej Sobczak wrote: > However, the examiner says: > > 4 package body Greetings > ^ > *** Syntax Error : No DOTTED_SIMPLE_NAME can start with > reserved > word "BODY". FWIW, there is a rule about Ada with-ing versus SPARK with-ing that explains, IIRC, that the #clauses must go before the package spec, in SPARK, not just the body. It's in the SPARK book somewhere.